Fix potential alpha issues. Transparency is not allowed here.

This commit is contained in:
Colby Klein
2011-03-08 19:57:31 -08:00
parent 56bb3e8445
commit dd4083a9b1
+3
View File
@@ -23,4 +23,7 @@ void main() {
intensity = min(clamp(intensity, ambient, 1.0) + 0.25, 1.0);
gl_FragColor = color * intensity;
// Don't allow transparency. Bad Things will happen.
gl_FragColor.a = 1.0;
}