- Timestamp:
- Nov 9, 2018, 1:06:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/Shader_HS18/programs/Example/GLSL/DepthShadowmapReceiverFp.glsl
r12083 r12091 15 15 vec4 shadowUV = oUv; 16 16 // point on shadowmap 17 shadowUV .xy = shadowUV.xy/ shadowUV.w;17 shadowUV = shadowUV / shadowUV.w; 18 18 float centerdepth = texture2D(shadowMap, shadowUV.xy).x; 19 19
Note: See TracChangeset
for help on using the changeset viewer.