Updated PhongLighting shader

I can't remember why I commented these lines.


Former-commit-id: 3da37915073f94c9c44adfd84c968cb2d70982cf
This commit is contained in:
Lynix 2014-07-24 09:45:42 +02:00
parent 8b34e21e2f
commit bd0f38092e
4 changed files with 9 additions and 9 deletions

View File

@ -61,9 +61,9 @@ void main()
#endif
#if TEXTURE_MAPPING
/* #if FLAG_FLIP_UVS
#if FLAG_FLIP_UVS
vTexCoord = vec2(VertexTexCoord.x, 1.0 - VertexTexCoord.y);
#else*/
#else
vTexCoord = VertexTexCoord;
#endif
#endif

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,7 @@ void main()
#endif
#endif
//#if LIGHTING
#if LIGHTING
#if FLAG_INSTANCING
mat3 rotationMatrix = mat3(InstanceData0);
#else
@ -59,14 +59,14 @@ void main()
#else
vNormal = normalize(rotationMatrix * VertexNormal);
#endif
//#endif
#endif
#if TEXTURE_MAPPING
/* #if FLAG_FLIP_UVS
#if FLAG_FLIP_UVS
vTexCoord = vec2(VertexTexCoord.x, 1.0 - VertexTexCoord.y);
#else*/
#else
vTexCoord = VertexTexCoord;
// #endif
#endif
#endif
#if LIGHTING && PARALLAX_MAPPING

File diff suppressed because one or more lines are too long