source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/demos/OgreGames/CarGame/Media/materials/scripts/explosive.material @ 3255

Revision 3255, 1.6 KB checked in by szirmay, 15 years ago (diff)
Line 
1material tartaly
2{
3        technique
4        {
5                pass
6                {       
7               
8                        vertex_program_ref bumpmappedVS
9                {       
10                        param_named_auto worldViewProj worldviewproj_matrix
11                        param_named_auto world world_matrix
12                                param_named world_IT matrix4x4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1     
13                }
14                        fragment_program_ref bumpmappedPS
15                        {
16                                param_named_auto lightPosition light_position 0
17                                param_named world_IT matrix4x4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
18                                param_named ambientColor float4 0.2 0.2 0.2 1
19                                param_named diffuseColor float4 1 1 1 1
20                                param_named specularColor float4 1 1 1 1
21                                param_named shininess float 2
22                        }
23                                       
24                        texture_unit
25                        {
26                                texture explosive.tga
27                        }
28                        texture_unit
29                        {
30                                texture explosivenormal.dds
31                        }
32                }               
33        }
34}
35material tartalytarto
36{
37        technique
38        {
39                pass
40                {
41                        vertex_program_ref bumpmappedVS
42                {       
43                        param_named_auto worldViewProj worldviewproj_matrix
44                        param_named_auto world world_matrix
45                                param_named world_IT matrix4x4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1     
46                }
47                        fragment_program_ref bumpmappedPS
48                        {
49                                param_named_auto lightPosition light_position 0
50                                param_named world_IT matrix4x4 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
51                                param_named ambientColor float4 0.2 0.2 0.2 1
52                                param_named diffuseColor float4 1 1 1 1
53                                param_named specularColor float4 1 1 1 1
54                                param_named shininess float 2
55                        }
56                                       
57                        texture_unit
58                        {
59                                texture metal.jpg
60                        }
61                        texture_unit
62                        {
63                                texture metalnormal.dds
64                        }
65                }
66        }
67}
Note: See TracBrowser for help on using the repository browser.