Are there any delays or locks in sending a framebuffer image to texture?
I'm trying to reuse the same texture across two object3d's , the texture is shared to both via Two texture info's
When i run this however , textureA isn't applied to objectB as it should be. Is it possible there is delay in the first render that locks the texture? I found that if i reversed the order
i ran into the same issue but with the other object3d.
fb.setRenderTarget(TextureA);
objectA.setVisibility(true);
fb.clear();
displayWorld.renderScene(fb);
displayWorld.draw(fb);
fb.display();
objectA.setVisibility(false);
fb.setRenderTarget(TextureB);
objectB.setVisibility(true);
fb.clear();
displayWorld.renderScene(fb);
displayWorld.draw(fb);
fb.display();
objectB.setVisibility(false);