Changeset 2301 for GTP/trunk/App/Demos/Illum/Ogre/Media
- Timestamp:
- 03/30/07 11:57:27 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.hlsl
r2266 r2301 258 258 float dist = readDistanceCubeMap(DistanceCubeMap, dir); 259 259 260 float EPSILON = 0.00001;261 262 if(mydist > dist + EPSILON) caustic = 0;260 float EPSILON = 1; 261 262 //if(mydist > dist + EPSILON) caustic = 0; 263 263 264 264 caustic.rgb *= max(attenuation - mydist, 0.0) / attenuation; -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material
r2266 r2301 131 131 param_named lastCenter float3 0 0 0 132 132 param_named sFresnel float 0.1 133 param_named sRefraction float 0. 9133 param_named sRefraction float 0.8 134 134 } 135 135 //Cube map for reflections and refractions … … 189 189 param_named lastCenter float3 0 0 0 190 190 param_named sFresnel float 0.1 191 param_named sRefraction float 0. 9191 param_named sRefraction float 0.8 192 192 } 193 193 //Cube map for reflections and refractions -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material
r2293 r2301 44 44 { 45 45 46 RenderTechnique CausticReceiver47 {46 //RenderTechnique CausticReceiver 47 //{ 48 48 max_caster_count 1 49 }49 //} 50 50 } 51 51 … … 70 70 { 71 71 72 RenderTechnique CausticReceiver73 {72 //RenderTechnique CausticReceiver 73 //{ 74 74 max_caster_count 1 75 }75 //} 76 76 } 77 77 texture_unit
Note: See TracChangeset
for help on using the changeset viewer.