Ignore:
Timestamp:
10/26/06 15:33:57 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r1611 r1683  
    5050                param_named_auto width viewport_width    
    5151                param_named_auto height viewport_height 
    52                 //param_named cutValue float 10.0 
    53                 param_named cutValue float 10.5 
    54                 param_named timeBlur float 0.5 
     52                param_named cutValue float 10.0 
     53                //param_named cutValue float 4.5 
     54                param_named timeBlur float 0.4 
    5555                 
    5656         } 
     
    107107                        param_named_auto width viewport_width    
    108108                param_named_auto height viewport_height  
     109                param_named Stretch float 1.5 
     110                //param_named timeBlur float 0.5 
     111         } 
     112        texture_unit 
     113                 { 
     114                    tex_address_mode mirror  
     115                        texture rockwall.tga             
     116                 } 
     117                         
     118      } 
     119   } 
     120} 
     121 
     122material GameTools/GlowBlurV 
     123{ 
     124        technique  
     125   {  
     126        pass  
     127      { 
     128                vertex_program_ref GameTools/PostProc1_VS 
     129         {        
     130         }  
     131                fragment_program_ref GameTools/GlowBlurV_PS 
     132         {  
     133                        param_named_auto width viewport_width    
     134                param_named_auto height viewport_height  
     135                param_named Stretch float 1.5 
     136                // param_named timeBlur float 0.5 
     137         } 
     138        texture_unit 
     139                 { 
     140                    tex_address_mode mirror  
     141                        texture rockwall.tga             
     142                 }                
     143      } 
     144   } 
     145} 
     146 
     147material GameTools/GlowBlurHTB 
     148{ 
     149   technique  
     150   {  
     151        pass  
     152      { 
     153        scene_blend alpha_blend 
     154                vertex_program_ref GameTools/PostProc1_VS 
     155         {        
     156         }  
     157                fragment_program_ref GameTools/GlowBlurH_PS 
     158         {  
     159                        param_named_auto width viewport_width    
     160                param_named_auto height viewport_height  
    109161                param_named Stretch float 1.2 
    110          } 
    111         texture_unit 
    112                  { 
    113                     tex_address_mode mirror  
    114                         texture rockwall.tga             
    115                  } 
    116                          
    117       } 
    118    } 
    119 } 
    120  
    121 material GameTools/GlowBlurV 
    122 { 
    123         technique  
    124    {  
    125         pass  
    126       { 
    127                 vertex_program_ref GameTools/PostProc1_VS 
    128          {        
    129          }  
    130                 fragment_program_ref GameTools/GlowBlurV_PS 
    131          {  
    132                         param_named_auto width viewport_width    
    133                 param_named_auto height viewport_height  
    134                 param_named Stretch float 1.2 
     162                 param_named timeBlur float 0.025 
    135163         } 
    136164        texture_unit 
     
    226254                        texture rockwall.tga             
    227255                 } 
    228       } 
    229    } 
    230 } 
     256                  texture_unit 
     257                 { 
     258                   // filtering none 
     259                        texture rockwall.tga             
     260                 } 
     261      } 
     262   } 
     263} 
Note: See TracChangeset for help on using the changeset viewer.