Avatar Posted July 19, 2015 Share Posted July 19, 2015 I want to make a custom renderer that renders a container with alot of pixels and scales using a vertex shader while not scaling the pixels themselves. I've searched on the internet to find a good example, and found only one; one that's not completely working well with filters: http://www.html5gamedevs.com/topic/15305-custom-container-custom-objectrenderer-and-shader-how-to-append-filters/ I would like to get some advice, or if possible a working example of a custom renderer. Thanks! Quote Link to comment Share on other sites More sharing options...
xerver Posted July 19, 2015 Share Posted July 19, 2015 A custom renderer and a custom shader are not the same thing. If you want examples of custom shaders (filters), check out the filter library: https://github.com/GoodBoyDigital/pixi.js/tree/master/src/filters If you are looking to write a custom renderer, that is a different story. One of the most simple examples of a custom renderer is the pixi-lights plugin: https://github.com/pixijs/pixi-lights/tree/master/src/renderers That has a custom SystemRenderer (WebGLDeferredRenderer) and a custom ObjectRenderer (LightRenderer). Quote Link to comment Share on other sites More sharing options...
Avatar Posted July 21, 2015 Author Share Posted July 21, 2015 Thanks. I will take a look at the pixi-lights plugin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.