bullet3/examples/OpenGLWindow/Shaders/createShadowMapInstancingPS.glsl

11 lines
138 B
GLSL

#version 330
precision highp float;
layout(location = 0) out float fragmentdepth;
void main(void)
{
fragmentdepth = gl_FragCoord.z;
}