Changeset 12091 for data/branches/Shader_HS18/programs/Example/GLSL/DepthShadowmapNormalMapReceiverFp.glsl
- 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/DepthShadowmapNormalMapReceiverFp.glsl
r12083 r12091 31 31 vec4 shadowUV = oUv; 32 32 // point on shadowmap 33 shadowUV .xy = shadowUV.xy/ shadowUV.w;33 shadowUV = shadowUV / shadowUV.w; 34 34 float centerdepth = texture2D(shadowMap, shadowUV.xy).x; 35 35
Note: See TracChangeset
for help on using the changeset viewer.