- Timestamp:
- 11/09/08 13:34:36 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3110 r3111 253 253 mSamplingMethod(SAMPLING_POISSON), 254 254 mShadingMethod(DEFAULT), 255 mIllumFboIndex(0) 255 mIllumFboIndex(0), 256 invTrafo(IdentityMatrix()) 256 257 { 257 258 /////////// … … 337 338 string ssaoParams[] = 338 339 {"colors", "normals", "oldTex", "noiseTex", "temporalCoherence", 339 "samples", "bl", "br", "tl", "tr", "modelViewProj", "oldModelViewProj", 340 "oldEyePos", "oldbl", "oldbr", "oldtl", "oldtr", "attribsTex", "inverseModelTrafo"}; 340 "samples", "bl", "br", "tl", "tr", 341 "modelViewProj", "oldModelViewProj", "oldEyePos", "oldbl", "oldbr", 342 "oldtl", "oldtr", "attribsTex", "inverseModelTrafo"}; 341 343 sCgSsaoProgram->AddParameters(ssaoParams, 0, 19); 342 344 343 345 string giParams[] = 344 346 {"colors", "normals", "noiseTex", "oldSsaoTex", "oldIllumTex", 345 "temporalCoherence", "samples", "bl", "br", "tl", "tr", "oldModelViewProj", "modelViewProj"}; 347 "temporalCoherence", "samples", "bl", "br", "tl", 348 "tr", "oldModelViewProj", "modelViewProj"}; 346 349 sCgGiProgram->AddParameters(giParams, 0, 13); 347 350 … … 562 565 sCgSsaoProgram->SetTexture(i ++, attribsTex); 563 566 564 sCgSsaoProgram->SetMatrix(i ++, IdentityMatrix()); 567 sCgSsaoProgram->SetMatrix(i ++, invTrafo); 568 //sCgSsaoProgram->SetMatrix(i ++, IdentityMatrix()); 565 569 566 570 DrawQuad(sCgSsaoProgram);
Note: See TracChangeset
for help on using the changeset viewer.