Ignore:
Timestamp:
09/11/06 23:09:16 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r1336 r1339  
    22{ 
    33        source GameTools_HPS_Smoke_S.hlsl 
    4         entry_point VP 
    5         target vs_2_0 
     4        entry_point HPS_Smoke_S_VS 
     5        target vs_3_0 
    66}  
    77 
     
    99{ 
    1010        source GameTools_HPS_Smoke_S.hlsl 
    11         entry_point FP 
     11        entry_point HPS_Smoke_S_PS 
    1212        target ps_3_0 
    1313}  
    1414 
     15 
     16 
     17material HPS_SMOKE_S 
     18{ 
     19        technique 
     20        { 
     21                pass 
     22                {                        
     23                        vertex_program_ref HPS_Smoke_S_VS 
     24                        {        
     25                                param_named_auto worldViewProj worldviewproj_matrix  
     26                                param_named_auto worldView worldview_matrix 
     27                                param_named_auto Proj projection_matrix      
     28                        }  
     29                        fragment_program_ref  HPS_Smoke_S_PS 
     30                        {  
     31                                param_named_auto Proj projection_matrix 
     32                        } 
     33                         
     34                        depth_check off 
     35                        //scene_blend_op min 
     36                        //scene_blend_op_alpha add 
     37                        scene_blend one one 
     38 
     39                } 
     40        } 
     41} 
     42 
     43 
     44vertex_program HPS_Smoke_L_VS hlsl 
     45{ 
     46        source GameTools_HPS_Smoke_L.hlsl 
     47        entry_point HPS_Smoke_L_VS 
     48        target vs_3_0 
     49}  
     50 
     51fragment_program HPS_Smoke_L_PS hlsl 
     52{ 
     53        source GameTools_HPS_Smoke_L.hlsl 
     54        entry_point HPS_Smoke_L_PS 
     55        target ps_3_0 
     56}  
     57 
     58 
     59 
     60material HPS_SMOKE_L 
     61{ 
     62        technique 
     63        { 
     64                pass 
     65                {        
     66                        IllumTechniques 
     67                        { 
     68                                RenderTechnique HPS 
     69                                { 
     70                                        particle_script GameTools/Little 
     71                                        perspective false 
     72                                }                        
     73                        } 
     74                                 
     75                        vertex_program_ref HPS_Smoke_L_VS 
     76                        {        
     77                                param_named_auto worldViewProj worldviewproj_matrix  
     78                                param_named_auto worldView worldview_matrix 
     79                                param_named_auto Proj projection_matrix      
     80                        }  
     81                        fragment_program_ref  HPS_Smoke_L_PS 
     82                        {  
     83                                param_named_auto Proj projection_matrix 
     84                        } 
     85                         
     86                        //depth_check off                        
     87                        //scene_blend_alpha add 
     88                         
     89                        texture_unit 
     90                        { 
     91                                 
     92                        } 
     93 
     94                } 
     95        } 
     96} 
     97 
     98 
     99 
Note: See TracChangeset for help on using the changeset viewer.