- Timestamp:
- 11/23/06 12:11:35 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts/Example.material
r1561 r1783 44 44 pass 45 45 { 46 ambient 0.8 0.8 0.8 47 cull_hardware true 48 46 ambient 1.0 1.0 1.0 49 47 texture_unit 50 48 { … … 165 163 lighting off 166 164 depth_write off 165 fog_override true 167 166 168 167 texture_unit … … 703 702 } 704 703 } 704 705 material 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 } 705 758 706 759 vertex_program Examples/GrassWaverVp cg … … 787 840 } 788 841 789 material Examples/ML11/leaf 842 material Examples/ML11/leaf_orig 790 843 { 791 844 technique … … 806 859 } 807 860 861 material 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 883 vertex_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 891 fragment_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 808 935 material Examples/ML11/trunk 809 936 { … … 821 948 } 822 949 950 material 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 970 material 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 985 material 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 1000 material 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 1018 material 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 1033 material 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 823 1051 material Examples/Rockwall 824 1052 { -
GTP/trunk/App/Demos/Geom/OgreStuff/media/materials/scripts/dwarf.material
r1092 r1783 6 6 pass 7 7 { 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 10 9 11 10 cull_hardware none … … 26 25 pass 27 26 { 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 30 28 31 29 cull_hardware none … … 46 44 pass 47 45 { 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 50 47 51 48 cull_hardware none … … 59 56 } 60 57 } 58 59 material 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.