Ignore:
Timestamp:
04/20/09 09:11:32 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp

    r3360 r3361  
    407407                cout << "using half resolution ssao" << endl; 
    408408        } 
    409  
     409#if 1 
    410410 
    411411        ///////// 
     
    467467 
    468468        PrepareLenseFlare(); 
    469  
     469#endif 
    470470        InitCg(); 
    471471} 
     
    660660        */ 
    661661 
    662         if (mShadingMethod != 0) 
     662        if (mShadingMethod != DEFAULT) 
    663663        { 
    664664                PrepareSsao(fbo); // downsample fbo buffers 
     
    966966        GLuint colorsTex = fbo->GetColorBuffer(colorBufferIdx)->GetTexture(); 
    967967        GLuint normalsTex = fbo->GetColorBuffer(1)->GetTexture(); 
     968        //GLuint aoTex = fbo->GetColorBuffer(1)->GetTexture(); 
    968969        GLuint aoTex = mTempFbo->GetColorBuffer(1)->GetTexture(); 
    969970 
     
    11031104        GLuint colorsTex = fbo->GetColorBuffer(colorBufferIdx)->GetTexture(); 
    11041105        GLuint normalsTex = fbo->GetColorBuffer(1)->GetTexture(); 
     1106        //GLuint ssaoTex = fbo->GetColorBuffer(1)->GetTexture(); 
    11051107        GLuint ssaoTex = mTempFbo->GetColorBuffer(0)->GetTexture(); 
    11061108         
Note: See TracChangeset for help on using the changeset viewer.