Changeset 1853 for GTP/trunk/App/Demos/Illum
- Timestamp:
- 12/05/06 11:49:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapot.hlsl
r1847 r1853 112 112 } 113 113 114 /* 115 float Hit ( float3 x, float3 R, samplerCUBE mp, out float3 newDir )114 115 float HitOld( float3 x, float3 R, samplerCUBE mp, out float3 newDir ) 116 116 { 117 117 //return R + 0.00000000001 * x; … … 143 143 return dl; 144 144 } 145 */ 145 146 146 147 147 struct VertOut … … 194 194 float3 R = normalize(reflect( V, IN.mNormal)); 195 195 196 //newTexCoord = R + 0.00000001 * lastCenter.x;197 196 newTexCoord = R; 198 Hit (mPos, R, DistanceMap, newTexCoord);197 HitOld(mPos, R, DistanceMap, newTexCoord); 199 198 Color = readCubeMap(CubeMap, newTexCoord ); 200 199
Note: See TracChangeset
for help on using the changeset viewer.