- Timestamp:
- 05/19/09 19:17:41 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/deferred.cg
r3369 r3372 315 315 float3 translatedPos = -oldEyePos + worldPos.xyz + difVec; 316 316 317 317 318 ///////////////// 318 319 //-- reproject into old frame and calculate texture position of sample in old frame … … 381 382 pix.color.z = color.w; 382 383 */ 383 const float3 translatedPos = ComputeTranslatedPos(color, difVec.xyz, IN.view, oldEyePos, oldModelViewProj); 384 const float3 translatedPos = 385 ComputeTranslatedPos(color, difVec.xyz, IN.view, oldEyePos, oldModelViewProj); 384 386 385 387 pix.color.xyz = translatedPos;
Note: See TracChangeset
for help on using the changeset viewer.