Changeset 3342 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Timestamp:
- 04/13/09 08:44:22 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 2 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 } -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/shaders/ssao.cg
r3341 r3342 496 496 497 497 //const float radiusMult = kernelRadius; 498 const float radiusMult = 3e-2; 499 //const float radiusMult = kernelRadius * invw; 500 501 #if 1 502 //#ifdef PERFORMANCE_TEST 498 //const float radiusMult = 3e-2; 499 const float radiusMult = kernelRadius * invw; 500 501 #ifdef PERFORMANCE_TEST 503 502 504 503 float3 diffVec = tex2Dlod(attribsTex, float4(IN.texCoord, 0, 0)).xyz; … … 558 557 } 559 558 560 #if 1 561 //#ifdef PERFORMANCE_TEST559 560 #ifdef PERFORMANCE_TEST 562 561 563 562 ///////////
Note: See TracChangeset
for help on using the changeset viewer.