diff --git a/data/shader/depth_cube.fsh b/data/shader/depth_cube.fsh index d7beeb7..adf8a69 100644 --- a/data/shader/depth_cube.fsh +++ b/data/shader/depth_cube.fsh @@ -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; }