Ignore:
Timestamp:
02/20/09 18:47:25 (15 years ago)
Author:
mattausch
Message:

now changing to precomputed sampling version

File:
1 edited

Legend:

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

    r3322 r3323  
    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 
     
    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 
     
    241241        if (depth < DEPTH_THRESHOLD) 
    242242        { 
    243                 OUT.illum_col.xyz = col.xyz * max(minAO, 1.0f - ao.x); 
    244                 //OUT.illum_col.xyz = max(minAO, 1.0f - ao.x); 
     243                //OUT.illum_col.xyz = col.xyz * max(minAO, 1.0f - ao.x); 
     244                OUT.illum_col.xyz = max(minAO, 1.0f - ao.x); 
    245245        } 
    246246        else 
Note: See TracChangeset for help on using the changeset viewer.