Changeset 1611 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Timestamp:
- 10/11/06 16:08:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Phong.hlsl
r1598 r1611 60 60 float3 pos = IN.wPos; 61 61 62 float M = 4;62 float M = 1; 63 63 64 64 float3 lightpositions[8]; … … 92 92 L = normalize(L); 93 93 float3 H = normalize(L + V); 94 float lightscale = 3;94 float lightscale = 1.0; 95 95 float4 spec = specular * lightcolors[i] * pow(dot(H, N), shininess) * lightscale; 96 96 float4 diff = diffuse * lightcolors[i] * abs(dot(L, N)) * lightscale;
Note: See TracChangeset
for help on using the changeset viewer.