Ignore:
Timestamp:
12/05/06 08:57:19 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r1831 r1847  
    235235        V = normalize(V); 
    236236        float3 R = normalize(reflect( V, IN.mNormal)); 
     237        //float3 R = normalize(refract( V, IN.mNormal, 0.98)); 
    237238                 
    238239        newTexCoord = R; 
     
    280281                float3 newX = mPos + R * d; 
    281282                float3 newR = normalize(reflect( newV, newN)); 
    282                  
     283        //      float3 newR = normalize(refract( newV, newN, 0.98)); 
     284         
    283285                Hit(newX, newR, DistanceMap, newTexCoord);       
    284286                Color = readCubeMap(CubeMap, newTexCoord ); 
Note: See TracChangeset for help on using the changeset viewer.