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

Revision 835, 1.7 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                        RenderTechnique DepthShadowReciever
13                        {
14                               
15                        }
16                        RenderTechnique CausticReciever
17                        {
18                               
19                        }
20                }
21                 
22                lighting off           
23
24                vertex_program_ref GameTools/CausticSoftShadowVS
25                {       
26         //param_named_auto world_IT inverse_transpose_world_matrix 
27                 param_named_auto worldViewProj worldviewproj_matrix
28                 param_named_auto world world_matrix
29                }
30                fragment_program_ref GameTools/CausticSoftShadowPS
31                {
32                   param_named_auto world_IT inverse_transpose_world_matrix 
33                   param_named_auto cameraPos camera_position
34                   param_named_auto lightPosition light_position 0
35                }
36               
37            texture_unit
38                {
39                        texture falt2.tga
40                }
41                         
42                texture_unit //bump
43                {
44                        texture falnormal.dds
45                }
46        }
47  }
48}
49
50
51material kupolalambert5
52{
53        technique
54        {
55                pass
56                {
57                        IllumTechniques
58                        {
59                                RenderTechnique DepthShadowReciever
60                                {
61                                       
62                                }
63                                RenderTechnique CausticReciever
64                                {
65                                       
66                                }
67                        }
68                       
69                       
70                        lighting off           
71
72                        vertex_program_ref GameTools/CausticSoftShadowVS
73                        {       
74                        param_named_auto worldViewProj worldviewproj_matrix
75                        param_named_auto world world_matrix
76                        //param_named_auto world_IT inverse_transpose_world_matrix 
77                        }
78                        fragment_program_ref GameTools/CausticSoftShadowPS
79                        {
80                         param_named_auto world_IT inverse_transpose_world_matrix 
81                         param_named_auto cameraPos camera_position
82                         param_named_auto lightPosition light_position 0
83                        }
84                       
85                        texture_unit
86                        {
87                                texture talaj2.tga
88                        }                                               
89                       
90                        texture_unit
91                        {
92                                texture talajnormal.dds         
93                        }
94                       
95                       
96
97                }
98        }
99}
100
Note: See TracBrowser for help on using the repository browser.