- Timestamp:
- 12/02/08 17:06:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3199 r3204 292 292 293 293 294 295 294 DeferredRenderer::DeferredRenderer(int w, int h, PerspectiveCamera *cam): 296 295 mWidth(w), mHeight(h), … … 306 305 //-- the flip-flop fbos 307 306 308 const int dsw = w / 2; const int dsh = h / 2; 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; 309 310 //const int dsw = w; const int dsh = h; 310 311 … … 325 326 326 327 mDownSampleFbo = new FrameBufferObject(dsw, dsh, FrameBufferObject::DEPTH_NONE); 328 // the downsampled color + depth buffer 327 329 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGBA_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 328 // downsample buffer for the normal texture329 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST);330 // downsample buffer for the normal texture 331 mDownSampleFbo->AddColorBuffer(ColorBufferObject::RGB_FLOAT_16, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST); 330 332 331 333 for (int i = 0; i < 2; ++ i)
Note: See TracChangeset
for help on using the changeset viewer.