- Timestamp:
- 04/20/09 09:11:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3360 r3361 407 407 cout << "using half resolution ssao" << endl; 408 408 } 409 409 #if 1 410 410 411 411 ///////// … … 467 467 468 468 PrepareLenseFlare(); 469 469 #endif 470 470 InitCg(); 471 471 } … … 660 660 */ 661 661 662 if (mShadingMethod != 0)662 if (mShadingMethod != DEFAULT) 663 663 { 664 664 PrepareSsao(fbo); // downsample fbo buffers … … 966 966 GLuint colorsTex = fbo->GetColorBuffer(colorBufferIdx)->GetTexture(); 967 967 GLuint normalsTex = fbo->GetColorBuffer(1)->GetTexture(); 968 //GLuint aoTex = fbo->GetColorBuffer(1)->GetTexture(); 968 969 GLuint aoTex = mTempFbo->GetColorBuffer(1)->GetTexture(); 969 970 … … 1103 1104 GLuint colorsTex = fbo->GetColorBuffer(colorBufferIdx)->GetTexture(); 1104 1105 GLuint normalsTex = fbo->GetColorBuffer(1)->GetTexture(); 1106 //GLuint ssaoTex = fbo->GetColorBuffer(1)->GetTexture(); 1105 1107 GLuint ssaoTex = mTempFbo->GetColorBuffer(0)->GetTexture(); 1106 1108
Note: See TracChangeset
for help on using the changeset viewer.