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) |
---|
Rev | Line | |
---|---|---|
[777] | 1 | |
2 | ||
3 | material kupolalambert2 | |
4 | { | |
5 | ||
6 | technique | |
7 | { | |
8 | pass | |
9 | { | |
[835] | 10 | IllumTechniques |
11 | { | |
[916] | 12 | |
13 | RenderTechnique CausticReciever | |
[835] | 14 | { |
[1094] | 15 | max_caster_count 10 |
[835] | 16 | } |
[1094] | 17 | //RenderTechnique DepthShadowReciever |
18 | //{ | |
[835] | 19 | |
[1094] | 20 | //} |
[835] | 21 | } |
[1085] | 22 | |
23 | scene_blend none | |
24 | scene_blend_op add | |
25 | scene_blend_op_alpha add | |
26 | scene_blend_alpha none | |
[835] | 27 | |
[777] | 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 | ||
57 | material kupolalambert5 | |
58 | { | |
59 | technique | |
60 | { | |
61 | pass | |
62 | { | |
[835] | 63 | IllumTechniques |
64 | { | |
[916] | 65 | |
66 | RenderTechnique CausticReciever | |
[835] | 67 | { |
[1094] | 68 | max_caster_count 10 |
[835] | 69 | } |
[1094] | 70 | //RenderTechnique DepthShadowReciever |
71 | //{ | |
[835] | 72 | |
[1094] | 73 | //} |
[835] | 74 | } |
75 | ||
[1085] | 76 | scene_blend none |
77 | scene_blend_op add | |
78 | scene_blend_op_alpha add | |
79 | scene_blend_alpha none | |
[835] | 80 | |
[777] | 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 | ||
[1081] | 112 | |
113 | material 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 | ||
131 | material 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.