Ignore:
Timestamp:
02/11/09 15:52:01 (15 years ago)
Author:
mattausch
Message:

working on seperable filtering

File:
1 edited

Legend:

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

    r3298 r3299  
    107107                                                 uniform float3 tl, 
    108108                                                 uniform float3 tr, 
    109                                                  uniform float w, 
    110                                                  uniform float h 
     109                                                 uniform float2 resolution 
    111110                                                 ) 
    112111{ 
     
    200199                                                 uniform float3 tl, 
    201200                                                 uniform float3 tr, 
    202                                                  uniform float w, 
    203                                                  uniform float h 
     201                                                 uniform float2 resolution 
    204202                                                 ) 
    205203{ 
     
    233231        // just apply ssao if we are not in the sky 
    234232        if (col.w < 1e10f) 
     233        { 
    235234                OUT.illum_col.xyz = col.xyz * max(2e-2f, 1.0f - ao.x); 
    236235                //OUT.illum_col.xyz = col.xyz * ao.x; 
     236        } 
    237237        else 
     238        { 
    238239                OUT.illum_col.xyz = col.xyz; 
     240        } 
    239241 
    240242        OUT.illum_col.w = col.w; 
Note: See TracChangeset for help on using the changeset viewer.