Ignore:
Timestamp:
10/09/08 11:19:33 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2983 r3017  
    343343                diffuse = color * 3e-1f; 
    344344 
     345        // diffuse component should be more saturated (and less blueish) for high sun positions 
     346        diffuse.x *= 1.2f; 
     347        diffuse.z *= 0.8f; 
     348 
     349        // scale diffuse component in order to make sky look less bright in relation to 
     350        // the geometry in the evening 
    345351        diffuse *= (2.0f - 1.0f * DotProd(sunDir, Vector3::UNIT_Z())); 
    346352 
Note: See TracChangeset for help on using the changeset viewer.