2014-12-04 00:13:59 +00:00
|
|
|
#version 150
|
|
|
|
|
2015-01-31 19:02:23 +00:00
|
|
|
in vec4 fragPosition;
|
|
|
|
|
2014-12-04 12:21:20 +00:00
|
|
|
out float fragmentDepth;
|
2014-12-04 00:13:59 +00:00
|
|
|
|
|
|
|
void main() {
|
2015-01-31 19:02:23 +00:00
|
|
|
fragmentDepth = fragPosition.z;
|
2014-12-04 00:13:59 +00:00
|
|
|
}
|