Changeset 2968 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 09/24/08 11:08:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r2967 r2968 377 377 378 378 // create a new light 379 light = new DirectionalLight(lightDir, RgbaColor(1, 1, 1, 1) );379 light = new DirectionalLight(lightDir, RgbaColor(1, 1, 1, 1), RgbaColor(1, 1, 1, 1)); 380 380 381 381 … … 576 576 sMaxDepthParamTex = cgGetNamedParameter(RenderState::sCgMrtFragmentTexProgram, "maxDepth"); 577 577 RenderState::sTexParam = cgGetNamedParameter(RenderState::sCgMrtFragmentTexProgram, "tex"); 578 578 579 579 cgGLSetParameter1f(sMaxDepthParamTex, MAX_DEPTH_CONST / farDist); 580 580 } … … 595 595 596 596 sMaxDepthParam = cgGetNamedParameter(RenderState::sCgMrtFragmentProgram, "maxDepth"); 597 597 598 cgGLSetParameter1f(sMaxDepthParam, MAX_DEPTH_CONST / farDist); 598 599 }
Note: See TracChangeset
for help on using the changeset viewer.