Ignore:
Timestamp:
08/31/08 15:27:31 (16 years ago)
Author:
mattausch
Message:

corrected views

File:
1 edited

Legend:

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

    r2887 r2888  
    9595 
    9696        //return max(0.0f, 1.0f - total_ao); 
    97         return saturate(dot(currentViewDir, currentNormal)); 
     97        //return saturate(dot(currentViewDir, currentNormal)); 
     98        return saturate(dot(currentViewDir, float3(0, -1, 0))); 
    9899} 
    99100 
Note: See TracChangeset for help on using the changeset viewer.