Ignore:
Timestamp:
07/13/06 08:17:27 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Focusing.hlsl

    r1126 r1131  
    66 
    77VS_OUT FocusingVS(float4 position : POSITION,    
    8                 uniform float4x4 worldView, 
     8                uniform float4x4 world, 
    99                uniform float4x4 worldViewProj, 
    1010                uniform float4x4 lightTransform) 
    1111{ 
    1212  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); 
    1516  return OUT; 
    1617} 
Note: See TracChangeset for help on using the changeset viewer.