REVIEWED: Potential shader issues
This commit is contained in:
parent
af163ba22a
commit
fddfb58f85
1 changed files with 30 additions and 34 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Reference in a new issue