Ignore:
Timestamp:
12/26/08 02:44:45 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/irradiance.cpp

    r3216 r3235  
    11531153                deferredShader->SetUseTemporalCoherence(useTemporalCoherence); 
    11541154                deferredShader->SetSortSamples(sortSamples); 
     1155                deferredShader->SetMaxDistance(traverser->GetMaxVisibleDistance()); 
    11551156 
    11561157                ShadowMap *sm = showShadowMap ? shadowMap : NULL; 
     
    20172018                { 
    20182019                        // usethe maximal visible distance to focus shadow map 
    2019                         float maxVisibleDist = min(camera->GetFar(), traverser->GetMaxVisibleDistance()); 
     2020                        const float maxVisibleDist = min(camera->GetFar(), traverser->GetMaxVisibleDistance()); 
    20202021                        RenderShadowMap(maxVisibleDist); 
    20212022                } 
Note: See TracChangeset for help on using the changeset viewer.