Flip RenderTargetTexture

Yo @sebavan I am trying to use a RenderTargetTexture for a Jumbotron in my scene… I am trying to render on a premade mesh (The screen part) so i can really flip the mesh… I dont seem to see invertY option for the RTT.

Note: -1 for RTT.vScale does not quite work either

So how do i flip a Render Target Texture ?

Probably this could help?

renderTarget._invertY = false // true

No, changing _invertY won’t work, a RTT does not use it at render time.

The easiest way is probably vScale = -1:

It should work, as a RTT texture is a regular texture when used as a source texture. How does it fail?

Another way would be to apply a post process that would invert the whole image.

2 Likes