Ignore:
Timestamp:
02/23/09 18:33:26 (15 years ago)
Author:
mattausch
Message:

strange texture error!!

File:
1 edited

Legend:

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

    r3323 r3326  
    192192        { 
    193193                // the filtered ssao value 
    194                 OUT.illum_col.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 
     194                //OUT.illum_col.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 
    195195        } 
    196196 
     
    223223        const float convergence = ao.y; 
    224224 
    225         const float2 xyStep = float2(0, 1.0f / res.y); 
     225        const float2 xyStep = float2(.0f, 1.0f / res.y); 
    226226         
    227227        // filter reaches size 1 pixel when sample size reaches threshold  
     
    232232        { 
    233233                // the filtered ssao value 
    234                 ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 
     234                //ao.x = FilterXY(IN.texCoord, ssaoTex, colorsTex, bl, br, tl, tr, xyStep, convergence, maxConvergence, spatialWeight); 
    235235        } 
    236236 
     
    249249        } 
    250250 
     251        //OUT.illum_col.xyz = float3(col.w * 5e-3f, 0, 0); 
     252        OUT.illum_col.xyz = ao.xyz; 
     253 
    251254        OUT.illum_col.w = col.w; 
    252255 
Note: See TracChangeset for help on using the changeset viewer.