Changeset 3091 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Timestamp:
- 11/03/08 09:33:59 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3089 r3091 137 137 uniform float3 oldbr, 138 138 uniform float3 oldtl, 139 uniform float3 oldtr 139 uniform float3 oldtr, 140 const uniform float4x4 inverseModelTrafo, 141 float id 140 142 ) 141 143 { … … 144 146 ///////////////// 145 147 //-- compute reprojection for temporal smoothing 148 149 float4x4 trafo; 150 151 // dynamic object 152 if (id > 20) 153 trafo = oldModelViewProj; 154 else 155 trafo = inverseModelTrafo * oldModelViewProj; 146 156 147 157 // reproject into old frame and calculate projected depth
Note: See TracChangeset
for help on using the changeset viewer.