- Timestamp:
- 08/31/08 15:27:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r2887 r2888 95 95 96 96 //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))); 98 99 } 99 100
Note: See TracChangeset
for help on using the changeset viewer.