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:
@@ -199,6 +199,9 @@ void main()
|
|||||||
#else
|
#else
|
||||||
gl_FragColor += vec4(material_specular * specularFactor, 0.0);
|
gl_FragColor += vec4(material_specular * specularFactor, 0.0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// -------------------- Multiply shadow map --------------------
|
// -------------------- Multiply shadow map --------------------
|
||||||
|
|
||||||
@@ -209,6 +212,4 @@ void main()
|
|||||||
// gl_FragColor = vec4(shadowCoord.s, shadowCoord.t, 1.0, 1.0);
|
// gl_FragColor = vec4(shadowCoord.s, shadowCoord.t, 1.0, 1.0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user