performance of shaders

performance of shaders
0.0 0


Hi all,

I tried to create a custom shader and set into CCSprite, I basically copied the default shader so there’s not much work, but the fps dropped from 60 to 45.
Can anyone help ?

This is the code I link the customized shader: