Changeset 1847 for GTP/trunk/App/Demos/Illum/Ogre/Media
- Timestamp:
- 12/05/06 08:57:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapot.hlsl
r1831 r1847 235 235 V = normalize(V); 236 236 float3 R = normalize(reflect( V, IN.mNormal)); 237 //float3 R = normalize(refract( V, IN.mNormal, 0.98)); 237 238 238 239 newTexCoord = R; … … 280 281 float3 newX = mPos + R * d; 281 282 float3 newR = normalize(reflect( newV, newN)); 282 283 // float3 newR = normalize(refract( newV, newN, 0.98)); 284 283 285 Hit(newX, newR, DistanceMap, newTexCoord); 284 286 Color = readCubeMap(CubeMap, newTexCoord );
Note: See TracChangeset
for help on using the changeset viewer.