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

Legend:

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

    r2181 r2188  
    7474  { 
    7575   cull_hardware clockwise 
     76   vertex_program_ref GTP/Basic/CPos_VS 
     77   {   
     78     param_named_auto WorldViewProj worldviewproj_matrix 
     79     param_named_auto WorldView     worldview_matrix      
     80   }  
     81   fragment_program_ref GTP/Basic/CDepth_PS 
     82   {     
     83   }    
     84  } 
     85 } 
     86} 
     87 
     88material GTP/Basic/CameraDepthCCW : GTP/Basic/CameraDepthCCW 
     89{ 
     90 technique 
     91 { 
     92  pass 
     93  { 
     94   cull_hardware anticlockwise 
    7695   vertex_program_ref GTP/Basic/CPos_VS 
    7796   {   
     
    171190 } 
    172191} 
     192 
     193material GTP/Basic/ShadowReciever/ShadowAccum 
     194{ 
     195 technique 
     196 { 
     197   pass 
     198   { 
     199    lighting off 
     200     ambient 1 1 1 1 
     201        diffuse 1 1 1 1 
     202        specular 1 1 1 1 
     203        emissive 0 0 0 
     204 
     205     IllumTechniques 
     206     { 
     207        RenderTechnique DepthShadowReciever 
     208                { 
     209                        max_light_count 1 
     210                        vertex_program_name GTP/Basic/LightCPos_VS 
     211                        fragment_program_name GTP/Basic/SM/ShadowAccum_PS 
     212                        set_light_view true 
     213                        set_light_farplane false 
     214                        world_view_proj_param_name WorldViewProj 
     215                        world_param_name World 
     216                        light_viewproj_param_name LightViewProj                  
     217                }        
     218     } 
     219   } 
     220 } 
     221} 
Note: See TracChangeset for help on using the changeset viewer.