- Timestamp:
- 07/13/06 08:17:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Focusing.hlsl
r1126 r1131 6 6 7 7 VS_OUT FocusingVS(float4 position : POSITION, 8 uniform float4x4 world View,8 uniform float4x4 world, 9 9 uniform float4x4 worldViewProj, 10 10 uniform float4x4 lightTransform) 11 11 { 12 12 VS_OUT OUT; 13 OUT.hPosition = mul(worldViewProj, position); 14 OUT.Position = mul(lightTransform, position); 13 OUT.hPosition = mul(worldViewProj, position); 14 float4 wPos = mul(world, position); 15 OUT.Position = mul(lightTransform, wPos); 15 16 return OUT; 16 17 }
Note: See TracChangeset
for help on using the changeset viewer.