Ignore:
Timestamp:
03/19/07 16:53:44 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r2152 r2266  
    140140} 
    141141 
    142  
    143  
    144 material GameTools/UVShader 
    145 {  
    146    technique  
    147    {  
    148         pass  
    149       {  
    150                 vertex_program_ref GameTools/UV_VS 
    151          {        
    152             param_named_auto worldViewProj worldviewproj_matrix 
    153          }  
    154                 fragment_program_ref GameTools/UV_PS 
    155          {  
    156                         param_named_auto ID custom 0 
    157          } 
    158          
    159  
    160        } 
    161     } 
    162 } 
    163  
    164 material GameTools/DistanceShader 
    165 {  
    166  
    167    technique  
    168    {  
    169         pass  
    170       {  
    171          vertex_program_ref GameTools/DistanceVS 
    172          {        
    173             param_named_auto worldView worldview_matrix 
    174             param_named_auto worldViewProj worldviewproj_matrix 
    175          }  
    176          fragment_program_ref  GameTools/DistancePS 
    177          {  
    178                   
    179          } 
    180  
    181        } 
    182     } 
    183 } 
    184  
    185 material GameTools/SceneCameraDepthShader 
    186 {  
    187  
    188    technique  
    189    {  
    190       scene_blend none 
    191  
    192       pass  
    193       {  
    194          vertex_program_ref GameTools/SceneCameraDepthVS 
    195          {        
    196             param_named_auto worldView worldview_matrix 
    197             param_named_auto worldViewProj worldviewproj_matrix 
    198             param_named_auto farplane far_clip_distance   
    199          }  
    200          fragment_program_ref  GameTools/SceneDepthPS 
    201          {  
    202             
    203          } 
    204  
    205        } 
    206     } 
    207 } 
    208  
    209 material GameTools/FocusingShader 
    210 {  
    211  
    212    technique  
    213    {  
    214       scene_blend none 
    215  
    216       pass  
    217       {  
    218          vertex_program_ref GameTools/FocusingVS 
    219          {        
    220                         param_named_auto world          world_matrix 
    221             param_named_auto worldViewProj worldviewproj_matrix 
    222                         param_named lightTransform matrix4x4      
    223          }  
    224          fragment_program_ref  GameTools/FocusingPS 
    225          {  
    226             
    227          } 
    228  
    229        } 
    230     } 
    231 } 
    232  
    233 material GameTools/ShadowMapDepth 
    234 {  
    235  
    236    technique  
    237    {  
    238       scene_blend none 
    239  
    240       pass  
    241       {  
    242                 cull_hardware anticlockwise 
    243                 //cull_hardware none 
    244                  
    245                 vertex_program_ref GameTools/ShadowMap/DepthVS 
    246         {        
    247           param_named_auto worldViewProj worldviewproj_matrix             
    248             }  
    249                 fragment_program_ref  GameTools/ShadowMap/DepthPS 
    250         {  
    251                          
    252         } 
    253          
    254        } 
    255     } 
    256 } 
    257  
    258 material GameTools/ShadowMapDistance 
    259 {  
    260  
    261    technique  
    262    {  
    263        
    264       pass  
    265       {  
    266         scene_blend none 
    267  
    268         cull_hardware anticlockwise 
    269         //cull_hardware none 
    270         //cull_software none 
    271         //cull_hardware clockwise 
    272                  
    273         vertex_program_ref GameTools/ShadowMap/DistVS 
    274         {        
    275           param_named_auto worldViewProj worldviewproj_matrix 
    276           param_named_auto worldView worldview_matrix           
    277         }  
    278         fragment_program_ref  GameTools/ShadowMap/DistPS 
    279         {  
    280           param_named_auto farPlane far_clip_distance 
    281         } 
    282          
    283        } 
    284     } 
    285 } 
    286  
    287  
    288142material GameTools/Blur 
    289143{  
Note: See TracChangeset for help on using the changeset viewer.