Changeset 2971 for GTP/trunk/App/Demos
- Timestamp:
- 09/24/08 15:11:08 (16 years ago)
- Location:
- GTP/trunk/App/Demos/Vis/FriendlyCulling/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/DeferredRenderer.cpp
r2970 r2971 693 693 const float middleGrey = lightIntensity * maxKey + (1.0f - lightIntensity) * minKey; 694 694 695 cout << "middlegrey: " << middleGrey << endl;695 //cout << "middlegrey: " << middleGrey << endl; 696 696 delete [] pixels; 697 697 -
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SkyPreetham.cpp
r2970 r2971 322 322 // Calculate final sun diffuse color. 323 323 diffuse = color * 3e-1f; 324 //diffuse *= (3.0f - 2.0f * DotProd(sunDir, Vector3::UNIT_Z()));324 diffuse *= (2.0f - 1.0f * DotProd(sunDir, Vector3::UNIT_Z())); 325 325 //diffuse = color; 326 326
Note: See TracChangeset
for help on using the changeset viewer.