Changeset 2337 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Timestamp:
- 04/24/07 14:10:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Phong.hlsl
r2294 r2337 115 115 OUT.hPos = OUT.hPosition = mul(worldViewProj, position); 116 116 OUT.wPos = mul(worldView, position).xyz; 117 OUT.mNormal = mul(normal, worldViewI).xyz;117 OUT.mNormal = normal;//mul(normal, worldViewI).xyz; 118 118 //OUT.mNormal = normal; 119 119 OUT.texCoord = texCoord; … … 165 165 166 166 float3 N = IN.mNormal; 167 //float3 N = mul(worldViewIT, IN.mNormal);168 167 N = normalize( N ); 169 168 float3 pos = IN.wPos;
Note: See TracChangeset
for help on using the changeset viewer.