Ignore:
Timestamp:
12/03/08 13:01:25 (16 years ago)
Author:
mattausch
Message:

restricted ssao to 0.1 so tone mapping artifacts for completely black surfaces can be avoided

File:
1 edited

Legend:

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

    r3208 r3209  
    348348        total_ao /= numSamples; 
    349349 
    350         return float3(max(0.0f, 1.0f - total_ao), validSamples, numSamples); 
     350        //return float3(max(0.0f, 1.0f - total_ao), validSamples, numSamples); 
     351        return float3(total_ao, validSamples, numSamples); 
    351352} 
    352353 
Note: See TracChangeset for help on using the changeset viewer.