Fixed bug causing shadow maps to be disabled when there is no specular or per-pixel lighting

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4031
This commit is contained in:
kearwood
2012-04-11 18:18:47 +00:00
parent aadc5c840c
commit d0433a2b1a

View File

@@ -199,6 +199,9 @@ void main()
#else
gl_FragColor += vec4(material_specular * specularFactor, 0.0);
#endif
#endif
// -------------------- Multiply shadow map --------------------
@@ -209,6 +212,4 @@ void main()
// gl_FragColor = vec4(shadowCoord.s, shadowCoord.t, 1.0, 1.0);
#endif
#endif
}