Changeset 2868 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 08/26/08 16:27:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2867 r2868 425 425 InitCg(); 426 426 427 DeferredShader::Init(sCgContext); 427 428 SsaoShader::Init(sCgContext); 428 DeferredShader::Init(sCgContext); 429 429 430 deferredShader = new DeferredShader(texWidth, texHeight); 430 431 ssaoShader = new SsaoShader(texWidth, texHeight, camera, myfar / 10.0f); 431 deferredShader = new DeferredShader(texWidth, texHeight);432 432 433 433 // initialize the render traverser … … 539 539 // the diffuse color buffer 540 540 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false); 541 541 542 // the positions buffer 542 543 fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_MIPMAP_LINEAR, true); 543 544 //fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, true); 545 544 546 // the normals buffer 545 547 //fbo->AddColorBuffer(ColorBufferObject::BUFFER_UBYTE, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false);
Note: See TracChangeset
for help on using the changeset viewer.