Ignore:
Timestamp:
07/05/06 18:19:15 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material

    r1060 r1081  
    8787                                //vertex_texture true 
    8888                        } 
     89                } 
     90        } 
     91} 
     92 
     93material GameTools/Standard 
     94{ 
     95        technique 
     96        { 
     97                pass 
     98                { 
     99                        ambient 0.1 0.11 0.15 
     100                        diffuse 0.8 0.9 1.0 
    89101                } 
    90102        } 
     
    626638} 
    627639 
     640 
     641material GameTools/Localized_NOCAUSTIC  
     642{  
     643 
     644   technique  
     645   {  
     646    
     647      pass  
     648      {  
     649                IllumTechniques 
     650                { 
     651                        RenderTechnique ColorCubeMap 
     652                        { 
     653                                update_interval         0 
     654                                distance_calc true 3.5                                   
     655                        } 
     656                        RenderTechnique DistanceCubeMap 
     657                        { 
     658                                update_interval         0 
     659                                distance_calc true 3.5                                           
     660                        }        
     661                         
     662                 } 
     663       
     664       
     665         vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
     666     {        
     667            param_named_auto worldViewProj worldviewproj_matrix  
     668            param_named_auto world world_matrix  
     669     }  
     670         fragment_program_ref   GameTools/CubeMap/FragmentPrograms/LocalizedPS 
     671     {  
     672                param_named_auto cameraPos camera_position 
     673                param_named_auto lightPosition light_position 0 
     674         }  
     675                 
     676         //Cube map for reflections and refractions      
     677         texture_unit 
     678         { 
     679           cubic_texture cubemap.jpg combinedUVW 
     680           tex_address_mode clamp 
     681           colour_op replace 
     682         } 
     683 
     684        //Cube map of distances 
     685         texture_unit 
     686         { 
     687           cubic_texture cubemap.jpg combinedUVW 
     688           tex_address_mode clamp 
     689           colour_op replace 
     690         } 
     691 
     692 
     693        } 
     694    } 
     695} 
     696 
    628697material GameTools/CubeMap/LocalizedBump  
    629698{  
Note: See TracChangeset for help on using the changeset viewer.