Does anyone know how to flip textures in Silk.NET OpenGL?
I am very new to Silk.NET and OpenGL, does anyone know how to flip textures? I've tried making the texture Y parameters 0.0 and -1.0 but neither work. Sorry if it is an obvious answer but I really dont know.
3 Replies
to differentiate between positional coordinates and texture coordinates the latter are usually called UV instead of XY btw.
to flip the texture you would have to swap the 0 and 1 V value,
so if ur UV coordinates are currently
it would have to become
ohhh
that makes sense
i was messing with the shader code
well, i guess u could do that in the vertex shader as well, u would then just have to calculate the new V with
1 - v