Ignore:
Timestamp:
12/11/06 16:30:08 (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

    r1565 r1879  
    108108{ 
    109109        source GameTools_HPS_Smoke_L_Depth.hlsl 
     110        entry_point HPS_Smoke_L_Depth_VS 
     111        target vs_3_0 
     112}  
     113 
     114fragment_program HPS_Smoke_L_Depth_PS hlsl 
     115{ 
     116        source GameTools_HPS_Smoke_L_Depth.hlsl 
     117        entry_point HPS_Smoke_L_Depth_PS 
     118        target ps_3_0 
     119}  
     120 
     121material HPS_SMOKE_L_Depth 
     122{ 
     123        technique 
     124        { 
     125                pass 
     126                {        
     127                        IllumTechniques 
     128                        { 
     129                                RenderTechnique HPS 
     130                                { 
     131                                        particle_script GameTools/FogLittle 
     132                                        perspective false 
     133                                        vparam_radius baseRadius 
     134                                        update_interval 1                                
     135                                } 
     136                                RenderTechnique SphericalBillboard 
     137                                { 
     138                                        texture_unit_id         1                                        
     139                                }                                                                
     140                        } 
     141                                 
     142                        vertex_program_ref HPS_Smoke_L_Depth_VS 
     143                        {        
     144                                param_named_auto worldViewProj worldviewproj_matrix  
     145                                param_named_auto worldView worldview_matrix 
     146                                param_named_auto worldViewInv inverse_worldview_matrix 
     147                                param_named_auto Proj projection_matrix  
     148                                param_named_auto width viewport_width    
     149                                param_named_auto height viewport_height                                                              
     150                        }  
     151                        fragment_program_ref  HPS_Smoke_L_Depth_PS 
     152                        {  
     153                                param_named_auto Proj projection_matrix 
     154                                param_named_auto farplane far_clip_distance 
     155                                param_named_auto nearplane near_clip_distance 
     156                                 
     157                                 
     158                        } 
     159                         
     160                        depth_check off                  
     161                        depth_write off 
     162                        scene_blend alpha_blend 
     163                         
     164                        //impostor texture 
     165                        texture_unit 
     166                        { 
     167                                //filtering none 
     168                        } 
     169                        //scene depth texture 
     170                        texture_unit 
     171                        { 
     172                                filtering none 
     173                        } 
     174                } 
     175        } 
     176} 
     177 
     178vertex_program HPS_Smoke_L_Depth_Illum_VS hlsl 
     179{ 
     180        source GameTools_HPS_Smoke_L_Depth.hlsl 
    110181        entry_point HPS_Smoke_L_Depth_Illum_VS 
    111182        target vs_3_0 
    112183}  
    113184 
    114 fragment_program HPS_Smoke_L_Depth_PS hlsl 
     185fragment_program HPS_Smoke_L_Depth_Illum_PS hlsl 
    115186{ 
    116187        source GameTools_HPS_Smoke_L_Depth.hlsl 
     
    119190}  
    120191 
    121 //fragment_program HPS_Smoke_L_Depth_PS asm 
    122 //{ 
    123 //      source HPS_Illum_L_PS.asm 
    124 //      syntax ps_3_0 
    125 //}  
    126  
    127  
    128  
    129  
    130  
    131 material HPS_SMOKE_L_Depth 
     192 
     193material HPS_SMOKE_L_Depth_Illum 
    132194{ 
    133195        technique 
     
    156218                        } 
    157219                                 
    158                         vertex_program_ref HPS_Smoke_L_Depth_VS 
     220                        vertex_program_ref HPS_Smoke_L_Depth_Illum_VS 
    159221                        {        
    160222                                param_named_auto worldViewProj worldviewproj_matrix  
     
    165227                                param_named_auto height viewport_height                                                              
    166228                        }  
    167                         fragment_program_ref  HPS_Smoke_L_Depth_PS 
     229                        fragment_program_ref  HPS_Smoke_L_Depth_Illum_PS 
    168230                        {  
    169231                                param_named_auto Proj projection_matrix 
Note: See TracChangeset for help on using the changeset viewer.