Graphics/Billboard: Fix billboard texcoords
Former-commit-id: 4c3182736ded66d0d03ed5d0abc54a51d6f6eca6
This commit is contained in:
parent
95ae8ed82c
commit
ff9d233e7c
|
|
@ -69,6 +69,7 @@ void main()
|
||||||
gl_Position = ViewProjMatrix * vec4(vertexPos, 1.0);
|
gl_Position = ViewProjMatrix * vec4(vertexPos, 1.0);
|
||||||
texCoords = VertexTexCoord;
|
texCoords = VertexTexCoord;
|
||||||
#endif
|
#endif
|
||||||
|
texCoords.y = 1.0 - texCoords.y;
|
||||||
#else
|
#else
|
||||||
#if FLAG_INSTANCING
|
#if FLAG_INSTANCING
|
||||||
#if TRANSFORM
|
#if TRANSFORM
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -75,6 +75,7 @@ void main()
|
||||||
gl_Position = ViewProjMatrix * vec4(vertexPos, 1.0);
|
gl_Position = ViewProjMatrix * vec4(vertexPos, 1.0);
|
||||||
texCoords = VertexTexCoord;
|
texCoords = VertexTexCoord;
|
||||||
#endif
|
#endif
|
||||||
|
texCoords.y = 1.0 - texCoords.y;
|
||||||
#else
|
#else
|
||||||
#if FLAG_INSTANCING
|
#if FLAG_INSTANCING
|
||||||
#if TRANSFORM
|
#if TRANSFORM
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue