Changeset 2294 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Timestamp:
- 03/27/07 11:55:42 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Files:
-
- 17 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Phong.hlsl
r1671 r2294 110 110 uniform float4x4 worldViewProj, 111 111 uniform float4x4 worldView, 112 uniform float4x4 worldViewI T)112 uniform float4x4 worldViewI) 113 113 { 114 114 vertOUT OUT; 115 115 OUT.hPos = OUT.hPosition = mul(worldViewProj, position); 116 116 OUT.wPos = mul(worldView, position).xyz; 117 OUT.mNormal = mul( worldViewIT, normal).xyz;117 OUT.mNormal = mul(normal, worldViewI).xyz; 118 118 //OUT.mNormal = normal; 119 119 OUT.texCoord = texCoord; … … 160 160 uniform float4 diffuse, 161 161 uniform float4 ambient, 162 uniform sampler2D colorTexture, 163 uniform float4x4 worldViewIT 164 165 ) : COLOR0 162 uniform sampler2D colorTexture ) : COLOR0 166 163 { 167 164
Note: See TracChangeset
for help on using the changeset viewer.