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

Revision 3255, 4.2 KB checked in by szirmay, 15 years ago (diff)
Line 
1material padlo
2{
3        technique
4        {
5                pass
6                {
7                        ambient 0 0 0 1
8                        diffuse 1.0 1.0 1.0 1
9                        specular 0 0 0 0
10                        emissive 0 0 0
11                       
12                        IllumTechniques
13                        {
14                                RenderTechnique DepthShadowReciever
15                                {
16                                       
17                                }
18                                RenderTechnique CausticReciever
19                                {
20                                 max_caster_count       10     
21                                }
22                        }
23                       
24                        vertex_program_ref bumpmappedVS
25                {       
26                        param_named_auto worldViewProj worldviewproj_matrix
27                        param_named_auto world world_matrix
28                                param_named_auto world_IT inverse_transpose_world_matrix                   
29                }
30                        fragment_program_ref bumpmappedDoubleTexturePS
31                        {
32                                param_named_auto lightPosition light_position 0
33                                param_named_auto world_IT inverse_transpose_world_matrix
34                                param_named ambientColor float4 0.0 0.0 0.0 1
35                                param_named diffuseColor float4 1.0 1.0 1.0 1
36                                param_named specularColor float4 0.2 0.2 0.2 1
37                                param_named shininess float 1
38                                param_named texUVmult float2 80 120
39                        }
40                       
41                        texture_unit
42                        {
43                                texture asphalt.jpg                             
44                        }
45                        texture_unit
46                        {
47                                texture talajdetail.jpg                         
48                        }
49                        texture_unit
50                        {
51                                texture scenetalajnormal.dds                           
52                        }
53                }
54        }
55}
56material fal
57{
58        technique
59        {
60                pass
61                {               
62                       
63                        vertex_program_ref bumpmappedVS
64                {       
65                        param_named_auto worldViewProj worldviewproj_matrix
66                        param_named_auto world world_matrix
67                                param_named_auto world_IT inverse_transpose_world_matrix                   
68                }
69                        fragment_program_ref bumpmappedPS
70                        {
71                                param_named_auto lightPosition light_position 0
72                                param_named_auto world_IT inverse_transpose_world_matrix
73                                param_named ambientColor float4 0.35, 0.35, 0.35 1
74                                param_named diffuseColor float4 1.0, 1.0, 1.0 1
75                                param_named specularColor float4 0.3, 0.3, 0.3 1
76                                param_named shininess float 10
77                        }
78
79                        texture_unit
80                        {
81                                texture kekfallow1.jpg                         
82                        }
83                       
84                        texture_unit
85                        {
86                                texture kekfalnormal.dds               
87                        }
88                }
89        }
90}
91material oszlop
92{
93        technique
94        {
95                pass
96                {
97                        ambient 0.2 0 0 1
98                        diffuse 1 0 0 1
99                        specular 0.5 0.5 0.5 20
100                        emissive 0 0 0
101                }
102        }
103}
104material fabric3
105{
106        technique
107        {
108                pass
109                {
110                        cull_hardware none
111                        ambient 0.8 0.8 0.8 0.94
112                        diffuse 1 1 1 0.94
113                        specular 0.5 0.5 0.5 20
114                        emissive 0 0 0
115
116                        texture_unit
117                        {
118                                texture fabric3.jpg
119                                tex_coord_set 0
120                                colour_op modulate
121                        }               
122                }
123        }
124}
125material ponyva2
126{
127        technique
128        {
129                pass
130                {
131                        cull_hardware none
132                        ambient 0.8 0.8 0.8 0.8
133                        diffuse 1 1 1 1
134                        specular 0.5 0.5 0.5 20
135                        emissive 0 0 0
136
137                        texture_unit
138                        {
139                                texture fabric2.jpg
140                                tex_coord_set 0
141                                colour_op modulate
142                        }
143                }
144        }
145}
146material ponyva1
147{
148        technique
149        {
150                pass
151                {
152                        cull_hardware none
153                        ambient 0.8 0.8 0.8 0.8
154                        diffuse 1 1 1 1
155                        specular 0.5 0.5 0.5 20
156                        emissive 0 0 0
157
158                        texture_unit
159                        {
160                                texture fabric1.jpg
161                                tex_coord_set 0
162                                colour_op modulate
163                        }
164                }
165        }
166}
167material fabric4
168{
169        technique
170        {
171                pass
172                {
173                        cull_hardware none
174                        ambient 0.8 0.8 0.8 0.8
175                        diffuse 1 1 1 1
176                        specular 0.5 0.5 0.5 20
177                        emissive 0 0 0
178
179                        texture_unit
180                        {
181                                texture fabric4.jpg
182                                tex_coord_set 0
183                                colour_op modulate
184                        }
185                }
186        }
187}
188material korl2
189{
190        technique
191        {
192                pass
193                {
194                        ambient 0.5 0.5 0.5 0.5
195                        diffuse 1 1 1 1
196                        specular 0.5 0.5 0.5 20
197                        emissive 0 0 0
198
199                        texture_unit
200                        {
201                                texture logo4.tga
202                                tex_coord_set 0
203                                colour_op modulate
204                        }
205                }
206        }
207}
208material korl1
209{
210        technique
211        {
212                pass
213                {
214                        ambient 0.5 0.5 0.5 0.5
215                        diffuse 1 1 1 1
216                        specular 0.5 0.5 0.5 20
217                        emissive 0 0 0
218
219                        texture_unit
220                        {
221                                texture logo3.tga
222                                tex_coord_set 0
223                                colour_op modulate
224                        }
225                }
226        }
227}
228material korl3
229{
230        technique
231        {
232                pass
233                {
234                        ambient 0.5 0.5 0.5 0.5
235                        diffuse 1 1 1 1
236                        specular 0.5 0.5 0.5 20
237                        emissive 0 0 0
238
239                        texture_unit
240                        {
241                                texture logo1.tga
242                                tex_coord_set 0
243                                colour_op modulate
244                        }
245                }
246        }
247}
248material korl4
249{
250        technique
251        {
252                pass
253                {
254                        ambient 0.5 0.5 0.5 0.5
255                        diffuse 1 1 1 1
256                        specular 0.5 0.5 0.5 20
257                        emissive 0 0 0
258
259                        texture_unit
260                        {
261                                texture logo2.tga
262                                tex_coord_set 0
263                                colour_op modulate
264                        }
265                }
266        }
267}
Note: See TracBrowser for help on using the repository browser.