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/PMDemo/PRMDemo.material

    r2186 r2188  
    2020   pass mainpass 
    2121   { 
    22         // IllumTechniques 
    23         // { 
    24         //      RenderTechnique PathMap 
    25         //      { 
     22        IllumTechniques 
     23        { 
     24                RenderTechnique PathMap 
     25                { 
    2626             
    27         //      } 
    28         //} 
     27                } 
     28        } 
    2929        texture_unit color 
    3030        { 
     
    3232    } 
    3333   } 
    34    pass pm 
    35    { 
    36     vertex_program_ref GTP/PathMap_VS 
    37     { 
    38     param_named_auto WorldViewProj worldviewproj_matrix 
    39     } 
    40     fragment_program_ref GTP/PathMap_PS  
    41         { 
    42         param_named prmAtlasTiles float2 32 1 
    43         } 
    44         scene_blend one zero 
    45    } 
     34    
    4635 } 
    4736} 
     
    117106  } 
    118107} 
     108 
     109 
     110vertex_program GTP/PathMap_ComputeWeights_VS hlsl 
     111{ 
     112   source PathMapWeightCompute.hlsl 
     113   entry_point vsComputeWeights 
     114   target vs_2_0    
     115} 
     116 
     117fragment_program GTP/PathMap_ComputeWeights_PS hlsl 
     118{ 
     119   source PathMapWeightCompute.hlsl 
     120   entry_point psComputeWeights 
     121   target ps_2_0    
     122} 
     123 
     124material GTP/PathMap_ComputeWeights 
     125{ 
     126        technique 
     127        { 
     128                pass 
     129                { 
     130                        vertex_program_ref GTP/PathMap_ComputeWeights_VS 
     131                        { 
     132                                 
     133                        } 
     134                        fragment_program_ref GTP/PathMap_ComputeWeights_PS 
     135                        { 
     136                        } 
     137                } 
     138        } 
     139} 
Note: See TracChangeset for help on using the changeset viewer.