Ignore:
Timestamp:
03/30/07 11:57:27 (17 years ago)
Author:
szirmay
Message:
 
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  
    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  
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material

    r2293 r2301  
    4444                { 
    4545                 
    46                         RenderTechnique CausticReceiver 
    47                         { 
     46                        //RenderTechnique CausticReceiver 
     47                        //{ 
    4848                                max_caster_count        1 
    49                         } 
     49                        //} 
    5050                } 
    5151                                 
     
    7070                        { 
    7171                 
    72                                 RenderTechnique CausticReceiver 
    73                                 { 
     72                                //RenderTechnique CausticReceiver 
     73                                //{ 
    7474                                        max_caster_count        1 
    75                                 } 
     75                                //} 
    7676                        }                                                
    7777                        texture_unit 
Note: See TracChangeset for help on using the changeset viewer.