Removing unused code.
This commit is contained in:
parent
d6ec0c27f9
commit
8443ab789f
@ -12,5 +12,4 @@ void main() {
|
|||||||
float B = -2*(farPlane*nearPlane)/(farPlane - nearPlane);
|
float B = -2*(farPlane*nearPlane)/(farPlane - nearPlane);
|
||||||
float value = 0.5*(-A*length(fragPosition) + B)/length(fragPosition) + 0.5;
|
float value = 0.5*(-A*length(fragPosition) + B)/length(fragPosition) + 0.5;
|
||||||
gl_FragDepth = value;
|
gl_FragDepth = value;
|
||||||
//gl_FragDepth = length(fragPosition)/farPlane;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user