source: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material @ 1094

Revision 1094, 2.2 KB checked in by szirmay, 18 years ago (diff)
Line 
1
2
3material kupolalambert2
4{
5
6   technique
7   {
8      pass
9      {
10                IllumTechniques
11                {
12                       
13                        RenderTechnique CausticReciever
14                        {
15                                max_caster_count        10
16                        }
17                        //RenderTechnique DepthShadowReciever
18                        //{
19                               
20                        //}
21                }
22               
23                scene_blend none
24                scene_blend_op add
25                scene_blend_op_alpha add
26                scene_blend_alpha none
27                 
28                lighting off           
29
30                vertex_program_ref GameTools/CausticSoftShadowVS
31                {       
32         //param_named_auto world_IT inverse_transpose_world_matrix 
33                 param_named_auto worldViewProj worldviewproj_matrix
34                 param_named_auto world world_matrix
35                }
36                fragment_program_ref GameTools/CausticSoftShadowPS
37                {
38                   param_named_auto world_IT inverse_transpose_world_matrix 
39                   param_named_auto cameraPos camera_position
40                   param_named_auto lightPosition light_position 0
41                }
42               
43            texture_unit
44                {
45                        texture falt2.tga
46                }
47                         
48                texture_unit //bump
49                {
50                        texture falnormal.dds
51                }
52        }
53  }
54}
55
56
57material kupolalambert5
58{
59        technique
60        {
61                pass
62                {
63                        IllumTechniques
64                        {
65                               
66                                RenderTechnique CausticReciever
67                                {
68                                        max_caster_count        10
69                                }
70                                //RenderTechnique DepthShadowReciever
71                                //{
72                                       
73                                //}
74                        }
75                       
76                        scene_blend none
77                        scene_blend_op add
78                        scene_blend_op_alpha add
79                        scene_blend_alpha none
80                       
81                        lighting off           
82
83                        vertex_program_ref GameTools/CausticSoftShadowVS
84                        {       
85                        param_named_auto worldViewProj worldviewproj_matrix
86                        param_named_auto world world_matrix
87                        //param_named_auto world_IT inverse_transpose_world_matrix 
88                        }
89                        fragment_program_ref GameTools/CausticSoftShadowPS
90                        {
91                         param_named_auto world_IT inverse_transpose_world_matrix 
92                         param_named_auto cameraPos camera_position
93                         param_named_auto lightPosition light_position 0
94                        }
95                       
96                        texture_unit
97                        {
98                                texture talaj2.tga
99                        }                                               
100                       
101                        texture_unit
102                        {
103                                texture talajnormal.dds         
104                        }
105                       
106                       
107
108                }
109        }
110}
111
112
113material kupolafal_low
114{
115
116   technique
117   {
118      pass
119      {                 
120               
121            texture_unit
122                {
123                        texture falt2.tga
124                }
125               
126        }
127  }
128}
129
130
131material kupolatalaj_low
132{
133        technique
134        {
135                pass
136                {
137                                               
138                        texture_unit
139                        {
140                                texture talaj2.tga
141                        }               
142
143                }
144        }
145}
146
Note: See TracBrowser for help on using the repository browser.