Looking at the code in the Three.js RTT sample, it appears like this:
renderer.render( sceneRTT, cameraRTT, rtTexture, true );
// Render full screen quad with generated texture
renderer.render( sceneScreen, cameraRTT );
Is there a way to ensure that the rtTexture
is fully rendered before accessing its data in the line
renderer.render( sceneScreen, cameraRTT );
?