progman Posted March 7, 2017 Share Posted March 7, 2017 I need render all scenes to one texture and after that render this texture to the screen I am try to do so: 1. I create render texture object _self.renderTexture = _self.engine.add.renderTexture( 800, 600, 'rendertexture', true); 2. In the update function I render scene to this texture _self.renderTexture.renderXY( _self.engine.stage, 0, 0, false ); there are two problems: - the image is flipped horizontally - the image blinking very vast ( the fps frequency I think ) how to fix this problems? PS As I see that one frame render black screen to texture and second frame render game content to texture and to screen why black rendered to texture i do not understand If disable render to texture then all is ok Link to comment Share on other sites More sharing options...
stupot Posted March 7, 2017 Share Posted March 7, 2017 Try just drawing the world instead of the stage to your rendertexture to fix the upside down problem. Link to comment Share on other sites More sharing options...
Recommended Posts