Changeset 2409 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic
- Timestamp:
- 06/05/07 14:26:25 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasicShading.hlsl
r2404 r2409 59 59 float cosb = max(dot(IN.wNormal.xyz, diff), 0); 60 60 61 //color.rgb += pow(cosa, 9) * cosb / dist2 * lightPower1 * lightColor1;62 color.rgb += cosb / dist2 * lightPower1 * lightColor1;61 color.rgb += pow(cosa, 9) * cosb / dist2 * lightPower1 * lightColor1; 62 //color.rgb += cosb / dist2 * lightPower1 * lightColor1; 63 63 64 64 }
Note: See TracChangeset
for help on using the changeset viewer.