- Timestamp:
- 04/13/09 08:44:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r3341 r3342 284 284 static void UpdateSampleTex(Sample2 *samples, int numSamples) 285 285 { 286 PrintGLerror("here4");287 286 glEnable(GL_TEXTURE_2D); 288 287 glBindTexture(GL_TEXTURE_2D, sampleTex2D); … … 418 417 for (int i = 0; i < 4; ++ i) 419 418 { 420 mIllumFbo->AddColorBuffer(ColorBufferObject::R _FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR);419 mIllumFbo->AddColorBuffer(ColorBufferObject::RGBA_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR); 421 420 FrameBufferObject::InitBuffer(mIllumFbo, i); 422 421 }
Note: See TracChangeset
for help on using the changeset viewer.