I’ve been working on a game project with Cocos2d-x 3.0. From time to time as I’m searching for documentation I can’t find any clear examples of how thing x works. So for now I decided to write simple samples/tutorials for such topics. The first one will be creating light shader for a dark scene.
Instead of going through the code line by line here, I will publish all the examples to Github with comments. Example of light shader can be found here: