Ignore:
Timestamp:
02/22/07 23:12:59 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/Demo/bump.hlsl

    r2152 r2157  
    7676                OUT.mLight = wLightPos.xyz - wPos * wLightPos.w; 
    7777 
    78                 OUT.wTangent = normalize(mul(WorldI,float4(IN.Tangent, 1))); 
    79                 OUT.wNormal = normalize(mul(WorldI,float4(IN.Normal, 1)));               
     78                OUT.wTangent = normalize(mul(float4(IN.Tangent, 1),WorldI)); 
     79                OUT.wNormal = normalize(mul(float4(IN.Normal, 1),WorldI));               
    8080                OUT.wBinormal = cross(OUT.wTangent, OUT.wNormal);                
    8181                 
Note: See TracChangeset for help on using the changeset viewer.