Ignore:
Timestamp:
03/01/07 18:04:37 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

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

    r2040 r2179  
    115115 } 
    116116} 
     117 
     118material GTP/Basic/Distance_Normalized 
     119{ 
     120 technique 
     121 { 
     122  pass 
     123  { 
     124   cull_hardware clockwise 
     125   vertex_program_ref GTP/Basic/CPos_VS 
     126   {   
     127     param_named_auto WorldViewProj worldviewproj_matrix      
     128     param_named_auto WorldView     worldview_matrix 
     129   }  
     130   fragment_program_ref GTP/Basic/CDistNorm_PS 
     131   {     
     132    param_named_auto farPlane far_clip_distance 
     133   }    
     134  } 
     135 } 
     136} 
     137 
     138material GTP/Basic/Distance_NormalizedCCW : GTP/Basic/Distance_Normalized 
     139{ 
     140 technique 0 
     141 { 
     142  pass 0 
     143  { 
     144   cull_hardware anticlockwise    
     145  } 
     146 } 
     147} 
     148 
     149material GTP/Basic/ShadowReciever/Depth 
     150{ 
     151 technique 
     152 { 
     153   pass 
     154   { 
     155     lighting off 
     156     IllumTechniques 
     157     { 
     158        RenderTechnique DepthShadowReciever 
     159                { 
     160                        max_light_count 1 
     161                        vertex_program_name GTP/Basic/LightVPos_VS 
     162                        fragment_program_name GTP/Basic/SM/Depth_PS 
     163                        set_light_view false 
     164                        set_light_farplane false 
     165                }        
     166     } 
     167   } 
     168 } 
     169} 
Note: See TracChangeset for help on using the changeset viewer.