Shadertoy and spark sl position

Hello, what causes the difference in position between shadertoy and spark sl?

in shadertoy the mirror is in the bottom position
image

in spark ar the mirror is in the top position

The UV coordinates in spark start at the top left, but in shadertoy they start at the bottom left. Basically it just needs to be flipped vertically. You can do this with uv.y = 1.0 - uv.y;

3 Likes