Ignore:
Timestamp:
06/27/06 10:17:56 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r847 r1060  
     1 
     2 
     3material GameTools/HPS 
     4{  
     5 
     6   technique  
     7   {  
     8      pass  
     9      {  
     10                IllumTechniques 
     11                { 
     12                        RenderTechnique HPS 
     13                        { 
     14                                particle_script GameTools/Little 
     15                        }                        
     16                } 
     17                 
     18                scene_blend add 
     19                 
     20                lighting off             
     21                depth_check off 
     22                 
     23            texture_unit 
     24                { 
     25                        texture  
     26                } 
     27                          
     28                 
     29        } 
     30  } 
     31} 
     32 
     33 
     34material Flare 
     35{ 
     36        technique 
     37        { 
     38                pass 
     39                { 
     40                        //cull_hardware none                     
     41                        lighting off 
     42                        //scene_blend add 
     43                        //scene_blend_op add 
     44                        //scene_blend_op_alpha add 
     45                        //scene_blend_alpha add 
     46                        depth_write off 
     47 
     48                        ambient 1 0 0 1 
     49                        diffuse 1 0 0 1 
     50                        //texture_unit 
     51                        //{ 
     52                        //      texture flare.png 
     53                        //} 
     54                } 
     55        } 
     56} 
     57 
    158material Examples/MorningSkyBox 
    259{ 
     
    626683      pass  
    627684      {  
     685                 
     686                IllumTechniques 
     687                { 
     688                        RenderTechnique ReducedColorCubeMap 
     689                        { 
     690                                update_interval         3 
     691                                distance_calc false 
     692                                face_angle_calc false 
     693                                update_all_face         false 
     694                        } 
     695                } 
     696       
     697 
    628698                vertex_program_ref GameTools/DiffuseVS 
    629699                {        
     
    735805            param_named_auto worldViewProj worldviewproj_matrix  
    736806            param_named_auto world world_matrix      
     807            param_named_auto worldIT inverse_transpose_world_matrix 
    737808         }  
    738809                 fragment_program_ref  GameTools/PhotonMapCausticPS 
     
    892963        pass  
    893964      {  
    894        
    895         cull_hardware none 
    896         cull_software none 
    897         lighting off 
    898         scene_blend add 
    899         depth_write off 
    900  
    901          vertex_program_ref GameTools/SpriteVS 
    902          {        
    903             param_named_auto worldViewProj worldviewproj_matrix  
    904             param_named_auto worldView worldview_matrix 
    905                         param_named_auto Proj projection_matrix      
    906          }  
    907          fragment_program_ref  GameTools/SpritePS 
    908          {  
    909                  
    910          } 
    911  
    912          texture_unit 
    913          { 
    914           texture flare.png 
    915          } 
     965                 
     966                cull_hardware none 
     967                cull_software none 
     968                lighting off 
     969                scene_blend add 
     970                depth_write off 
     971 
     972                vertex_program_ref GameTools/SpriteVS 
     973                        {        
     974                                param_named_auto worldViewProj worldviewproj_matrix  
     975                                param_named_auto worldView worldview_matrix 
     976                                param_named_auto Proj projection_matrix      
     977                        }  
     978                fragment_program_ref  GameTools/SpritePS 
     979                        {  
     980                         
     981                        } 
     982 
     983                texture_unit 
     984                { 
     985                texture flare.png 
     986                } 
    916987 
    917988       } 
Note: See TracChangeset for help on using the changeset viewer.