Changeset 1853


Ignore:
Timestamp:
12/05/06 11:49:33 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r1847 r1853  
    112112} 
    113113                         
    114 /* 
    115 float Hit( float3 x, float3 R, samplerCUBE mp, out float3 newDir ) 
     114 
     115float HitOld( float3 x, float3 R, samplerCUBE mp, out float3 newDir ) 
    116116{ 
    117117        //return R  + 0.00000000001 * x; 
     
    143143        return dl; 
    144144} 
    145 */ 
     145 
    146146 
    147147struct VertOut 
     
    194194        float3 R = normalize(reflect( V, IN.mNormal)); 
    195195                 
    196         //newTexCoord = R + 0.00000001 * lastCenter.x;   
    197196        newTexCoord = R;         
    198         Hit(mPos, R, DistanceMap, newTexCoord); 
     197        HitOld(mPos, R, DistanceMap, newTexCoord); 
    199198        Color = readCubeMap(CubeMap, newTexCoord );      
    200199         
Note: See TracChangeset for help on using the changeset viewer.