Changeset 2024 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Timestamp:
- 01/23/07 08:53:32 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs
- Files:
-
- 7 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_Blur.hlsl
r1691 r2024 38 38 return sum; 39 39 return tex2D(Texture, uv); 40 } 41 42 float4 CopyPS(VS_OUTPUT IN, 43 uniform sampler2D Texture : register(s0), 44 uniform float alpha, 45 uniform float width, 46 uniform float height ) : COLOR 47 { 48 float2 pixel = float2(1.0 / width, 1.0 / height); 49 float2 uv = IN.Position + pixel * 0.5; 50 51 float4 Color = tex2D(Texture, uv); 52 Color.a = alpha; 53 //Color = float4(0,0,0,1); 54 return Color; 40 55 } 41 56 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/MetalTeapotNew.hlsl
r1959 r2024 525 525 I = readCubeMap(NormDistMap1, p); 526 526 } 527 <<<<<<< .mine 528 I = max1 + 0.0000000000001 *x.x; 529 ======= 527 530 I = max1 + 0.000000001 * x.x; 531 >>>>>>> .r1994 528 532 //I = readCubeMap(NormDistMap1, R)+0.00000000001*x.x; 529 533 return I;
Note: See TracChangeset
for help on using the changeset viewer.