Hey, I’ve been having this issue where the fps drops drastically from 60 to 40s.
What I have in my scene are 4 layers that are added in the following order:
~~game layer (CCLayer)
~~fade out layer
~~HUD layer (CCLayer)
In the game layer what I have are bunch of sprites and I’m applying a shader effect on them. Basically i’m drawing all my actors onto a RenderTexture and applying a mask onto the result using fragment shaders.
Without the fade out layer the game runs at 60fps the whole time. As soon as I add the fade out layer on top of the game layer for some reason the fps drops to 40s.
Any suggestions on ow to fix this issue?
ps: I’m still using 2.1.4 if that matters.