Changeset 3011


Ignore:
Timestamp:
10/08/08 02:35:43 (16 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/App/Demos/Vis/FriendlyCulling
Files:
1 added
1 edited

Legend:

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

    r3001 r3011  
    137137 
    138138 
    139 ShadowMap::ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam): 
     139ShadowMap::ShadowMap(DirectionalLight *light 
     140                                         , int size,  
     141                                         const AxisAlignedBox3 &sceneBox, 
     142                                         Camera *cam): 
    140143mSceneBox(sceneBox), mSize(size), mCamera(cam), mLight(light) 
    141144{ 
     
    143146 
    144147        // need a color buffer to keep opengl happy 
    145         mFbo->AddColorBuffer(ColorBufferObject::RGBA_UBYTE, 
     148        mFbo->AddColorBuffer(ColorBufferObject::RGB_UBYTE, 
    146149                                 ColorBufferObject::WRAP_CLAMP_TO_EDGE,  
    147150                                                 ColorBufferObject::FILTER_NEAREST); 
Note: See TracChangeset for help on using the changeset viewer.