mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
11 lines
138 B
Plaintext
11 lines
138 B
Plaintext
|
#version 330
|
||
|
precision highp float;
|
||
|
|
||
|
|
||
|
layout(location = 0) out float fragmentdepth;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
fragmentdepth = gl_FragCoord.z;
|
||
|
}
|