Ignore:
Timestamp:
02/26/07 09:48:36 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/Demo/tower.material

    r2157 r2163  
    2222material towermaterial 
    2323{ 
    24         technique 
     24        technique maintechnique 
    2525        { 
    26             pass 
     26            pass mainpass 
    2727                { 
    2828                        vertex_program_ref GTP/Demo/BumpMapped_VS 
     
    3838                        { 
    3939                         param_named HEIGHT_SCALE float 0.16 
    40                          param_named HEIGHT_BIAS float -0.04 
     40                         param_named HEIGHT_BIAS float -0.04                     
    4141                         param_named textureRepeat float 6 
    4242                        } 
     
    4747                         colour_op replace 
    4848                        } 
    49                         texture_unit 
     49                        texture_unit detail 
    5050                        { 
    51                          texture towerwall.bmp 
     51                         texture towerdetailgrey.bmp 
    5252                         tex_coord_set 1 
    5353                         colour_op modulate 
     
    5959                        } 
    6060                         
     61                } 
     62         
     63        } 
     64} 
     65 
     66material wallmaterial : towermaterial 
     67{ 
     68        technique maintechnique 
     69        { 
     70            pass  mainpass 
     71                {                
     72                        texture_unit detail 
     73                        { 
     74                         texture walldetailgrey.bmp 
     75                         tex_coord_set 1 
     76                         colour_op modulate 
     77                        }                        
    6178                } 
    6279         
     
    90107                        texture_unit 
    91108                        { 
    92                          texture towerwall.bmp 
     109                         texture towerdetail.bmp 
    93110                         tex_coord_set 1 
    94111                         colour_op modulate 
     
    105122} 
    106123 
    107 material towermaterialNoBump 
    108 { 
    109         technique 
    110         { 
    111             pass 
    112                 { 
    113                         ambient 1 1 1 1 
    114                         diffuse 1 1 1 1 
    115                         specular 0 0 0 0 
    116                         emissive 0 0 0                   
    117                          
    118                         texture_unit 
    119                         { 
    120                          texture stone.bmp 
    121                          tex_coord_set 0                          
    122                         } 
    123                         texture_unit 
    124                         { 
    125                          texture towerwall.bmp 
    126                          tex_coord_set 1 
    127                          colour_op modulate 
    128                         }                        
    129                 } 
    130          
    131         } 
    132 } 
Note: See TracChangeset for help on using the changeset viewer.