You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/EMotionFX/Assets/Editor/Shaders/ShadowMap_PS.glsl

13 lines
148 B
GLSL

varying float outDepth;
void main()
{
//float l = (input.depth + 1.0f) * 0.5f;
float l = outDepth;
gl_FragColor = vec4( l, l, l, 1.0 );
}