Changeset 3222 for GTP/trunk/App
- Timestamp:
- 12/10/08 19:07:32 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3220 r3222 352 352 } 353 353 354 const int dsw = w; const int dsh = h;355 356 354 mIllumFbo = new FrameBufferObject(downSampledWidth, downSampledHeight, FrameBufferObject::DEPTH_NONE); 357 355 //mIllumFbo = new FrameBufferObject(w, h, FrameBufferObject::DEPTH_NONE); … … 370 368 //-- as GI is mostly low frequency, we can use lower resolution toimprove performance 371 369 372 mDownSampleFbo = new FrameBufferObject(d sw, dsh, FrameBufferObject::DEPTH_NONE);370 mDownSampleFbo = new FrameBufferObject(downSampledWidth, downSampledHeight, FrameBufferObject::DEPTH_NONE); 373 371 // the downsampled color + depth buffer 374 372 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGBA_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR);
Note: See TracChangeset
for help on using the changeset viewer.