Ignore:
Timestamp:
12/20/08 09:00:10 (16 years ago)
Author:
mattausch
Message:

worked on submission

File:
1 edited

Legend:

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

    r3225 r3226  
    124124 
    125125        // get position exactly between old texel centers 
    126         float2 center; 
     126        /*float2 center; 
    127127        center.x = (floor(IN.texCoord.x * w - .5f) + 1.0f) / w; 
    128128        center.y = (floor(IN.texCoord.y * h - .5f) + 1.0f) / h; 
     
    137137 
    138138        const float minConvergence = min(m1, m2); 
    139  
    140         //const float convergence = minConvergence; 
     139        const float convergence = minConvergence;*/ 
    141140        //const float convergence = 0; 
    142141        const float convergence = ao.y; 
     
    161160        // just apply ssao if we are not in the sky 
    162161        if (col.w < 1e10f) 
    163                 OUT.illum_col.xyz = col.xyz * max(1e-1f, 1.0f - ao.x); 
     162                OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x); 
     163                //OUT.illum_col.xyz = col.xyz * ao.x; 
    164164        else 
    165165                OUT.illum_col.xyz = col.xyz; 
Note: See TracChangeset for help on using the changeset viewer.