10 lines
115 B
GLSL
10 lines
115 B
GLSL
#version 150
|
|
|
|
in vec4 fragPosition;
|
|
|
|
out float fragmentDepth;
|
|
|
|
void main() {
|
|
fragmentDepth = fragPosition.z;
|
|
}
|