1#import "Common/ShaderLib/Shadow.glsllib"
2
3uniform SHADOWMAP m_ShadowMap;
4varying vec4 projCoord;
5
6void main() {
7   vec4 coord = projCoord;
8   coord.xyz /= coord.w;
9   float shad = Shadow_GetShadow(m_ShadowMap, coord) * 0.7 + 0.3;
10   gl_FragColor = vec4(shad,shad,shad,1.0);
11}
12
13