Changeset 1347


Ignore:
Timestamp:
09/12/06 20:40:46 (18 years ago)
Author:
szirmay
Message:
 
Location:
GTP/trunk/App/Demos/Illum/Ogre/Media/materials
Files:
1 added
1 edited

Legend:

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

    r1094 r1347  
    7171} 
    7272 
     73vertex_program GameTools/CauTriVS hlsl 
     74{ 
     75        source GameTools_CauCube.hlsl 
     76        entry_point CauVS 
     77        target vs_3_0 
     78}  
     79 
     80fragment_program GameTools/CauTriPS hlsl 
     81{ 
     82        source GameTools_CauCube.hlsl 
     83        entry_point CauPS 
     84        target ps_2_0 
     85 
     86}  
     87material GameTools/CauTri 
     88{  
     89   technique  
     90   {  
     91        pass 
     92        { 
     93                cull_hardware none 
     94                cull_software none 
     95                lighting off 
     96                scene_blend add 
     97                scene_blend src_alpha one 
     98                depth_write off 
     99                 
     100                vertex_program_ref GameTools/CauTriVS 
     101            {        
     102                param_named_auto worldView worldview_matrix 
     103                    param_named_auto Proj projection_matrix 
     104                    param_named_auto resolution viewport_width 
     105                }  
     106                fragment_program_ref  GameTools/CauTriPS 
     107        {  
     108                   param_named color float3 0.7 0.7 0.5 
     109                } 
     110                          
     111            texture_unit 
     112                { 
     113                        vertex_texture true 
     114                        texture flare.png 
     115                } 
     116       } 
     117    } 
     118} 
     119 
    73120 
    74121material GameTools/CausticGlass 
     
    94141                        RenderTechnique CausticCaster 
    95142                        { 
    96                                 attenuation     0                                        
     143                                attenuation     0        
     144                                caustic_map_material            GameTools/CauTri 
     145                                use_triangles   true                             
    97146                        } 
    98147                         
Note: See TracChangeset for help on using the changeset viewer.