REVIEWED: Potential shader issues

This commit is contained in:
Ray 2025-01-12 20:39:07 +01:00
commit fddfb58f85

View file

@ -22,5 +22,5 @@ void main()
float depth = (2.0*zNear)/(zFar + zNear - z*(zFar - zNear));
// Calculate final fragment color
gl_FragColor = vec4(depth, depth, depth, 1.0f);
gl_FragColor = vec4(depth, depth, depth, 1.0);
}