Removing unused code.

This commit is contained in:
Faerbit 2015-03-05 16:17:21 +01:00
parent d6ec0c27f9
commit 8443ab789f

View File

@ -12,5 +12,4 @@ void main() {
float B = -2*(farPlane*nearPlane)/(farPlane - nearPlane);
float value = 0.5*(-A*length(fragPosition) + B)/length(fragPosition) + 0.5;
gl_FragDepth = value;
//gl_FragDepth = length(fragPosition)/farPlane;
}