Ignore:
Timestamp:
09/24/08 11:08:13 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2967 r2968  
    377377 
    378378        // 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)); 
    380380 
    381381 
     
    576576                sMaxDepthParamTex = cgGetNamedParameter(RenderState::sCgMrtFragmentTexProgram, "maxDepth"); 
    577577                RenderState::sTexParam = cgGetNamedParameter(RenderState::sCgMrtFragmentTexProgram, "tex"); 
    578  
     578         
    579579                cgGLSetParameter1f(sMaxDepthParamTex, MAX_DEPTH_CONST / farDist); 
    580580        } 
     
    595595 
    596596                sMaxDepthParam = cgGetNamedParameter(RenderState::sCgMrtFragmentProgram, "maxDepth"); 
     597                 
    597598                cgGLSetParameter1f(sMaxDepthParam, MAX_DEPTH_CONST / farDist); 
    598599        } 
Note: See TracChangeset for help on using the changeset viewer.