- Timestamp:
- 12/02/08 17:32:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3204 r3205 305 305 //-- the flip-flop fbos 306 306 307 //const int dsw = w / 2; const int dsh = h / 2; 308 //const int dsw = 128; const int dsh = 96; 309 const int dsw = 16; const int dsh = 12; 307 const int dsw = w / 2; const int dsh = h / 2; 310 308 //const int dsw = w; const int dsh = h; 311 309 … … 435 433 string combineSsaoParams[] = 436 434 {"colorsTex", "normalsTex", "ssaoTex", "filterOffs", 437 "filterWeights", "modelViewProj", "bl", "br", "tl", "tr" };438 sCgCombineSsaoProgram->AddParameters(combineSsaoParams, 0, 1 0);435 "filterWeights", "modelViewProj", "bl", "br", "tl", "tr", "w", "h"}; 436 sCgCombineSsaoProgram->AddParameters(combineSsaoParams, 0, 12); 439 437 440 438 ////////////// … … 906 904 sCgCombineSsaoProgram->SetValue3f(i, mCornersView[j].x, mCornersView[j].y, mCornersView[j].z); 907 905 906 sCgCombineSsaoProgram->SetValue1f(i ++, mIllumFbo->GetColorBuffer(mIllumFboIndex)->GetWidth()); 907 sCgCombineSsaoProgram->SetValue1f(i ++, mIllumFbo->GetColorBuffer(mIllumFboIndex)->GetHeight()); 908 908 909 DrawQuad(sCgCombineSsaoProgram); 909 910
Note: See TracChangeset
for help on using the changeset viewer.