Graphics/Billboard: Fix billboard texcoords

Former-commit-id: 4c3182736ded66d0d03ed5d0abc54a51d6f6eca6
This commit is contained in:
Lynix 2015-08-16 01:43:59 +02:00
parent 95ae8ed82c
commit ff9d233e7c
4 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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