RenderMesh & NonUniformScale issue

Hello all,

I am trying to scale a sprite using the RenderMesh + RenderMeshSystem and NonUniformScale. However this is not working as intended.

If the scale x & y are positive I can see the sprite (normal).
If the scale x & y are both negative I can see the sprite (upside down).
If the scale x & y have different signs (-1,1 or 1,-1), the sprite disappears (flipping left or right).

What am I missing here?

Here is the example of the issue:

Does the shader you’re using for the sprite mesh have backface culling enabled?

1 Like

There was no reference to “Cull” in the shader which made it “Cull On” by default it seems. Putting “Cull Off” in the shader did the trick. Thanks recursive <3

1 Like