Changeset 3024


Ignore:
Timestamp:
10/10/08 17:33:06 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg

    r3018 r3024  
    148148                                  uniform sampler2D noiseTexture, 
    149149                                  uniform float2 samples[NUM_PCF_TABS], 
     150                                  uniform float weights[NUM_PCF_TABS], 
    150151                                  uniform float3 lightDir, 
    151152                                  uniform float3 eyePos, 
     
    193194                lightSpacePos /= lightSpacePos.w; 
    194195 
    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); 
    196197 
    197198                diffuse *= shadowTerm; 
Note: See TracChangeset for help on using the changeset viewer.