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

Revision 2054, 2.4 KB checked in by szirmay, 17 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                        //texture rnl_cross.hdr
47                }
48                         
49                texture_unit //bump
50                {
51                        texture falnormal.dds
52                }
53        }
54  }
55}
56
57
58material kupolalambert5
59{
60        technique
61        {
62                pass
63                {
64                        IllumTechniques
65                        {
66                               
67                                RenderTechnique CausticReciever
68                                {
69                                        max_caster_count        10
70                                }
71                                //RenderTechnique DepthShadowReciever
72                                //{
73                                //     
74                                //}
75                        }
76                       
77                        scene_blend none
78                        scene_blend_op add
79                        scene_blend_op_alpha add
80                        scene_blend_alpha none
81                       
82                        lighting off           
83
84                        vertex_program_ref GameTools/CausticSoftShadowVS
85                        {       
86                        param_named_auto worldViewProj worldviewproj_matrix
87                        param_named_auto world world_matrix
88                        //param_named_auto world_IT inverse_transpose_world_matrix 
89                        }
90                        fragment_program_ref GameTools/CausticSoftShadowPS
91                        {
92                         param_named_auto world_IT inverse_transpose_world_matrix 
93                         param_named_auto cameraPos camera_position
94                         param_named_auto lightPosition light_position 0
95                        }
96                       
97                        texture_unit
98                        {
99                                texture talaj2.tga
100                        }                                               
101                       
102                        texture_unit
103                        {
104                                texture talajnormal.dds         
105                        }
106                       
107                       
108
109                }
110        }
111}
112
113vertex_program KuppolafalVS hlsl
114{
115        source kupola.hlsl
116        entry_point vs
117        target vs_2_0
118}
119
120fragment_program KuppolafalPS hlsl
121{
122        source kupola.hlsl
123        entry_point ps
124        target ps_3_0
125}
126
127material kupolafal_low
128{
129
130   technique
131   {
132      pass
133      {         
134                               
135            texture_unit
136                {
137                        texture falt2.tga                       
138                }
139               
140        }
141  }
142}
143
144
145material kupolatalaj_low
146{
147        technique
148        {
149                pass
150                {
151                                               
152                        texture_unit
153                        {
154                                texture talaj2.tga
155                        }               
156
157                }
158        }
159}
160
Note: See TracBrowser for help on using the repository browser.