I have RenderTexture where I render all the level sprites. And then use post processing shader to add fog of war and some light effects, but in cocos2dx 3.0 version this is not working anymore. It just generate blank.
I tested to toggle off using shader with the RenderTexture and then it did draw all the level sprites, so the RenderTexture seems to work, but propaply multitexturing doesn't work.
What is the proper way of doing multitexturing in 3.0?
My current code is like this:
void MapSceneRenderTexture::visit(Renderer *renderer, const kmMat4 &parentTransform, bool parentTransformUpdated)
BaseClass::visit(renderer, parentTransform, parentTransformUpdated);