Ignore:
Timestamp:
08/19/08 16:36:13 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2838 r2853  
    1010//#define SAMPLE_INTENSITY 0.125f 
    1111 
    12 #define AREA_SIZE 5e-1f 
     12#define AREA_SIZE 9e-1f 
    1313#define VIEW_CORRECTION_SCALE 0.3f 
    1414#define DISTANCE_SCALE 1e-6f 
     
    254254                (tex.y >= 0.0f) && (tex.y < 1.0f) &&  
    255255                (abs(depthDif)  < 8e-5f)) 
     256        { 
    256257                OUT.color = attenuated_color * expFactor + col1 * float4(1.0f - expFactor); 
     258        } 
    257259        else 
     260        { 
    258261                OUT.color = attenuated_color; 
     262        } 
    259263 
    260264        OUT.color.w = tex2D(colors, IN.texCoord.xy).w; 
Note: See TracChangeset for help on using the changeset viewer.