apply custom shader to CCNode without building new classes



I want to use a custom shader on some nodes in my game.

I checked the samples, but looks like I have to build new classes and override visit/draw method , isnt’it ?

Do I have to do this even for simple shader that doesnt rely on specific uniforms ?


problem solved.