Ignore:
Timestamp:
11/23/06 12:11:35 (18 years ago)
Author:
gumbau
Message:
 
Location:
GTP/trunk/App/Demos/Geom/OgreStuff/media
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts/Example.material

    r1561 r1783  
    4444                pass 
    4545                { 
    46                         ambient 0.8 0.8 0.8 
    47                         cull_hardware true 
    48  
     46                        ambient 1.0 1.0 1.0 
    4947                        texture_unit 
    5048                        { 
     
    165163                        lighting off 
    166164                        depth_write off 
     165                        fog_override true 
    167166 
    168167                        texture_unit 
     
    703702        } 
    704703} 
     704 
     705material Demos/TerrainMixed 
     706{ 
     707   technique 
     708   { 
     709     pass 
     710     { 
     711       // lighting on 
     712       // Base Pass 
     713       ambient 0.6 0.6 0.6 
     714       diffuse 0.6 0.6 0.6 
     715       texture_unit 
     716       { 
     717         // Base Texture 
     718         texture grass_1024.jpg 
     719           scale 0.5 0.5 
     720       } 
     721       texture_unit 
     722      { 
     723         texture grass.png 
     724         colour_op_ex modulate_x2 src_current src_texture 
     725         scale 0.01 0.01 
     726      }          
     727     }     
     728     
     729     pass 
     730     { 
     731       // Rock pass 
     732       ambient 0.6 0.6 0.6 
     733       diffuse 0.6 0.6 0.6 
     734       scene_blend alpha_blend 
     735       depth_func equal 
     736       texture_unit 
     737       { 
     738         // Alpha Map for rock 
     739         texture terrain_splat3.tga 
     740         tex_address_mode mirror 
     741         alpha_op_ex source1 src_texture src_texture 
     742         colour_op_ex source1 src_current src_current 
     743           scale 0.5 0.5 
     744       } 
     745 
     746       texture_unit 
     747       { 
     748         // Rock Splatting texture 
     749         texture destina.jpg 
     750         tex_address_mode mirror 
     751         alpha_op_ex source1 src_current src_current 
     752         colour_op_ex source2 src_current src_texture 
     753         scale 0.01 0.01 
     754       } 
     755     } 
     756  } 
     757}  
    705758 
    706759vertex_program Examples/GrassWaverVp cg 
     
    787840} 
    788841 
    789 material Examples/ML11/leaf 
     842material Examples/ML11/leaf_orig 
    790843{ 
    791844    technique 
     
    806859} 
    807860 
     861material Examples/ML11/leaf 
     862{ 
     863    technique 
     864    { 
     865        pass 
     866        { 
     867                alpha_rejection greater 150  
     868              cull_hardware none 
     869            texture_unit 
     870            { 
     871                    filtering linear linear linear 
     872                texture ml11lef.dds 
     873            } 
     874        } 
     875    } 
     876} 
     877 
     878 
     879 
     880/////////////////////////////////////////////////////////////////////////////////////////// 
     881// Bump map vertex program, support for this is required 
     882 
     883vertex_program Lodtree/BumpMapVP cg 
     884{ 
     885        source LodTree_BumpMapping.cg 
     886        entry_point main_vp 
     887        profiles vs_1_1 arbvp1 
     888} 
     889 
     890// Bump map fragment program, support for this is optional 
     891fragment_program Lodtree/BumpMapFP cg 
     892{ 
     893        source LodTree_BumpMapping.cg 
     894        entry_point main_fp 
     895        profiles ps_2_0 arbfp1 fp20 
     896} 
     897 
     898 
     899// Single light material, less passes (one pass on a 4-unit card) 
     900//material Demos/ML06/Leaf 
     901//{ 
     902//      // Preferred technique, uses vertex and fragment programs 
     903//      // to support a single coloured light 
     904//      technique 
     905//      { 
     906//              pass 
     907//              { 
     908//                      // base colours, not needed for rendering, but as information 
     909//                      // to lighting pass categorisation routine 
     910//                      ambient 0.7 0.7 0.7  
     911//                      // Vertex program reference 
     912//                      vertex_program_ref Lodtree/BumpMapVP 
     913//                      { 
     914//                              param_named_auto lightPosition light_position_object_space 0 
     915//                              param_named_auto worldViewProj worldviewproj_matrix 
     916//                      } 
     917// 
     918//                      // Fragment program 
     919//                      fragment_program_ref Lodtree/BumpMapFP 
     920//                      { 
     921//                              param_named_auto lightDiffuse light_diffuse_colour 0  
     922//                      } 
     923//                       
     924//                      // Decal 
     925//                      texture_unit 
     926//                      { 
     927//                              texture ml06lef.dds 
     928//                      } 
     929//              } 
     930//      } 
     931// 
     932//} 
     933 
     934 
    808935material Examples/ML11/trunk 
    809936{ 
     
    821948} 
    822949 
     950material Demos/ML06/Leaf 
     951{ 
     952    technique 
     953    { 
     954        pass 
     955        { 
     956                ambient 1 1 1 
     957                alpha_rejection greater 150  
     958              cull_hardware none 
     959                cull_software none 
     960            texture_unit 
     961            { 
     962                    filtering linear linear linear 
     963                texture ml06lef.dds 
     964            } 
     965        } 
     966    } 
     967} 
     968 
     969 
     970material Demos/ML06/Trunk 
     971{ 
     972        technique 
     973        { 
     974                pass 
     975                { 
     976                        cull_hardware clockwise 
     977                        texture_unit 
     978                        { 
     979                                texture ML15brk.tif 
     980                        } 
     981                } 
     982        } 
     983} 
     984 
     985material Demos/ML15/Trunk 
     986{ 
     987        technique 
     988        { 
     989                pass 
     990                { 
     991                        cull_hardware clockwise 
     992                        texture_unit 
     993                        { 
     994                                texture ML15brk.tif 
     995                        } 
     996                } 
     997        } 
     998} 
     999 
     1000material Demos/ML15/Leaf 
     1001{ 
     1002    technique 
     1003    { 
     1004        pass 
     1005        { 
     1006                alpha_rejection greater 150  
     1007              cull_hardware none 
     1008                ambient 1 1 1 
     1009            texture_unit 
     1010            { 
     1011                    filtering linear linear linear 
     1012                texture ml15lef.dds 
     1013            } 
     1014        } 
     1015    } 
     1016} 
     1017 
     1018material Demos/ML13/Trunk 
     1019{ 
     1020        technique 
     1021        { 
     1022                pass 
     1023                { 
     1024                        cull_hardware clockwise 
     1025                        texture_unit 
     1026                        { 
     1027                                texture ML13brk.tif 
     1028                        } 
     1029                } 
     1030        } 
     1031} 
     1032 
     1033material Demos/ML13/Leaf 
     1034{ 
     1035    technique 
     1036    { 
     1037        pass 
     1038        { 
     1039                alpha_rejection greater 150  
     1040              cull_hardware none 
     1041                ambient 1 1 1 
     1042            texture_unit 
     1043            { 
     1044                    filtering linear linear linear 
     1045                texture ml13lef.dds 
     1046            } 
     1047        } 
     1048    } 
     1049} 
     1050 
    8231051material Examples/Rockwall 
    8241052{ 
  • GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts/dwarf.material

    r1092 r1783  
    66                pass 
    77                { 
    8                         ambient 0.2 0.2 0.2 1 
    9                         diffuse 0.8 0.8 0.8 1 
     8                        ambient 1.0 1.0 1.0 1 
    109 
    1110                        cull_hardware none 
     
    2625                pass 
    2726                { 
    28                         ambient 0.2 0.2 0.2 1 
    29                         diffuse 0.8 0.8 0.8 1 
     27                        ambient 1.0 1.0 1.0 1 
    3028 
    3129                        cull_hardware none 
     
    4644                pass 
    4745                { 
    48                         ambient 0.2 0.2 0.2 1 
    49                         diffuse 0.8 0.8 0.8 1 
     46                        ambient 1.0 1.0 1.0 1 
    5047 
    5148                        cull_hardware none 
     
    5956        } 
    6057} 
     58 
     59material Material3 
     60{ 
     61        technique 
     62        { 
     63                pass 
     64                { 
     65                        ambient 1.0 1.0 1.0 1 
     66 
     67                        cull_hardware none 
     68                        cull_software none 
     69 
     70                        texture_unit 
     71                        { 
     72                                texture axe.jpg 
     73                        } 
     74                } 
     75        } 
     76} 
Note: See TracChangeset for help on using the changeset viewer.