Ignore:
Timestamp:
01/23/09 18:33:15 (15 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r3288 r3291  
    6161        } 
    6262        else 
     63        { 
    6364                cerr << "sky program failed to load" << endl; 
     65        } 
    6466 
    6567        mSkyFragProgram =  
     
    294296                ambient *= 8e-6f; 
    295297        else 
     298        { 
    296299                ambient *= 1e-1f; 
    297300 
    298         //  slightly too blueish => scale 
    299         ambient.x *= 1.3f; 
    300         ambient.y *= 1.1f; 
    301         ambient.z = max(max(ambient.z, ambient.x), ambient.y); 
     301                //  slightly too blueish with tone mapping => scale 
     302                ambient.x *= 1.3f; 
     303                ambient.y *= 1.1f; 
     304                ambient.z = max(max(ambient.z, ambient.x), ambient.y); 
     305        } 
     306         
    302307 
    303308        // simulate the sun intensity by modulating the ambient term. 
Note: See TracChangeset for help on using the changeset viewer.