Ignore:
Timestamp:
03/30/07 11:57:27 (18 years ago)
Author:
szirmay
Message:
 
Location:
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic
Files:
2 edited

Legend:

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

    r2266 r2301  
    258258        float  dist = readDistanceCubeMap(DistanceCubeMap, dir); 
    259259         
    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; 
    263263         
    264264        caustic.rgb *= max(attenuation - mydist, 0.0) / attenuation; 
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material

    r2266 r2301  
    131131            param_named lastCenter float3 0 0 0 
    132132            param_named sFresnel float 0.1 
    133             param_named sRefraction float 0.9 
     133            param_named sRefraction float 0.8 
    134134             }           
    135135             //Cube map for reflections and refractions  
     
    189189            param_named lastCenter float3 0 0 0 
    190190            param_named sFresnel float 0.1 
    191             param_named sRefraction float 0.9 
     191            param_named sRefraction float 0.8 
    192192             }           
    193193             //Cube map for reflections and refractions  
Note: See TracChangeset for help on using the changeset viewer.