Changeset 3011
- Timestamp:
- 10/08/08 02:35:43 (16 years ago)
- 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 137 137 138 138 139 ShadowMap::ShadowMap(DirectionalLight *light, int size, const AxisAlignedBox3 &sceneBox, Camera *cam): 139 ShadowMap::ShadowMap(DirectionalLight *light 140 , int size, 141 const AxisAlignedBox3 &sceneBox, 142 Camera *cam): 140 143 mSceneBox(sceneBox), mSize(size), mCamera(cam), mLight(light) 141 144 { … … 143 146 144 147 // need a color buffer to keep opengl happy 145 mFbo->AddColorBuffer(ColorBufferObject::RGB A_UBYTE,148 mFbo->AddColorBuffer(ColorBufferObject::RGB_UBYTE, 146 149 ColorBufferObject::WRAP_CLAMP_TO_EDGE, 147 150 ColorBufferObject::FILTER_NEAREST);
Note: See TracChangeset
for help on using the changeset viewer.