Removing out gl_FragDepth as nvidia driver complains about it.

This commit is contained in:
Faerbit 2016-04-15 10:44:26 +02:00
parent 45d969c16e
commit 3b25514233
2 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,5 @@
#version 150
out float gl_FragDepth;
void main() {
gl_FragDepth = gl_FragCoord.z;
}

View File

@ -4,8 +4,6 @@ in vec4 fragPosition;
uniform float farPlane;
out float gl_FragDepth;
void main() {
float nearPlane = 0.1;
float A = -(farPlane+nearPlane)/(farPlane-nearPlane);