Ignore:
Timestamp:
04/29/09 14:05:01 (15 years ago)
Author:
mattausch
Message:

debug version visualizing the depth diff

File:
1 edited

Legend:

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

    r3363 r3364  
    235235        pixel OUT; 
    236236 
    237         float4 col = tex2Dlod(colorsTex, float4(IN.texCoord, 0, 0)); 
    238         float4 ao = tex2Dlod(ssaoTex, float4(IN.texCoord, 0, 0)); 
     237        float4 col = tex2Dlod(colorsTex, float4(IN.texCoord, .0f, .0f)); 
     238        float4 ao = tex2Dlod(ssaoTex, float4(IN.texCoord, .0f, .0f)); 
    239239 
    240240        const float depth = col.w; 
     
    252252        { 
    253253                // the filtered ssao value 
    254                 ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 
     254                ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex,  
     255                                     bl, br, tl, tr,  
     256                                                 xyStep, convergence, maxConvergence, spatialWeight); 
    255257        } 
    256258 
     
    274276        //OUT.illum_col.xyz = float3(ao.z * 1e-3f); 
    275277        //OUT.illum_col.xyz = float3(ao.y * 1e-3f); 
     278        OUT.illum_col.xyz = float3(ao.y); 
    276279        //OUT.illum_col.xyz = ao.xyz; 
    277280 
Note: See TracChangeset for help on using the changeset viewer.