Changeset 3024
- Timestamp:
- 10/10/08 17:33:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r3018 r3024 148 148 uniform sampler2D noiseTexture, 149 149 uniform float2 samples[NUM_PCF_TABS], 150 uniform float weights[NUM_PCF_TABS], 150 151 uniform float3 lightDir, 151 152 uniform float3 eyePos, … … 193 194 lightSpacePos /= lightSpacePos.w; 194 195 195 float shadowTerm = CalcShadowTerm(IN, shadowMap, sampleWidth, lightSpacePos.xy, lightSpacePos.z, samples, noiseTexture);196 float shadowTerm = CalcShadowTerm(IN, shadowMap, sampleWidth, lightSpacePos.xy, lightSpacePos.z, samples, weights, noiseTexture); 196 197 197 198 diffuse *= shadowTerm;
Note: See TracChangeset
for help on using the changeset viewer.