Ignore:
Timestamp:
08/21/08 20:17:46 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp

    r2859 r2860  
    668668        // this fbo basicly stores the scene information we get from standard rendering of a frame 
    669669        // we store colors, normals, positions (for the ssao) 
    670         myfbo = new FrameBufferObject(texWidth, texHeight, true, FrameBufferObject::DEPTH_24); 
     670        fbo = new FrameBufferObject(texWidth, texHeight, true, FrameBufferObject::DEPTH_24); 
    671671 
    672672 
    673673        // the diffuse color buffer 
    674         myfbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32,  
    675                                                   ColorBufferObject::WRAP_CLAMP_TO_EDGE,  
    676                                                   ColorBufferObject::FILTER_LINEAR,  
    677                                                   false, false); 
     674        fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_LINEAR, false, false); 
    678675 
    679676        // the positions buffer 
    680         myfbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32,  
    681                               ColorBufferObject::WRAP_CLAMP_TO_EDGE,  
    682                                                   ColorBufferObject::FILTER_NEAREST,  
    683                                                   false, false); 
     677        fbo->AddColorBuffer(ColorBufferObject::BUFFER_FLOAT_32, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false, false); 
    684678 
    685679        // the normals buffer 
    686         myfbo->AddColorBuffer(ColorBufferObject::BUFFER_UBYTE,  
    687                               ColorBufferObject::WRAP_CLAMP_TO_EDGE,  
    688                                                   ColorBufferObject::FILTER_NEAREST,  
    689                                                   false, false); 
    690  
    691          
     680        fbo->AddColorBuffer(ColorBufferObject::BUFFER_UBYTE, ColorBufferObject::WRAP_CLAMP_TO_EDGE, ColorBufferObject::FILTER_NEAREST, false, false); 
     681 
    692682 
    693683 
Note: See TracChangeset for help on using the changeset viewer.