source:
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material
@
2054
Revision 2054, 2.4 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 | |
[2054] | 13 | RenderTechnique CausticReciever |
14 | { | |
15 | max_caster_count 10 | |
16 | } | |
[1691] | 17 | //RenderTechnique DepthShadowReciever |
18 | //{ | |
19 | // | |
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 | |
[1683] | 46 | //texture rnl_cross.hdr |
[777] | 47 | } |
48 | ||
49 | texture_unit //bump | |
50 | { | |
51 | texture falnormal.dds | |
52 | } | |
53 | } | |
54 | } | |
55 | } | |
56 | ||
57 | ||
58 | material kupolalambert5 | |
59 | { | |
60 | technique | |
61 | { | |
62 | pass | |
63 | { | |
[835] | 64 | IllumTechniques |
65 | { | |
[916] | 66 | |
[2054] | 67 | RenderTechnique CausticReciever |
68 | { | |
69 | max_caster_count 10 | |
70 | } | |
[1691] | 71 | //RenderTechnique DepthShadowReciever |
72 | //{ | |
73 | // | |
74 | //} | |
[835] | 75 | } |
76 | ||
[1085] | 77 | scene_blend none |
78 | scene_blend_op add | |
79 | scene_blend_op_alpha add | |
80 | scene_blend_alpha none | |
[835] | 81 | |
[777] | 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 | ||
[1683] | 113 | vertex_program KuppolafalVS hlsl |
114 | { | |
115 | source kupola.hlsl | |
116 | entry_point vs | |
117 | target vs_2_0 | |
118 | } | |
[1081] | 119 | |
[1683] | 120 | fragment_program KuppolafalPS hlsl |
121 | { | |
122 | source kupola.hlsl | |
123 | entry_point ps | |
124 | target ps_3_0 | |
125 | } | |
126 | ||
[1081] | 127 | material kupolafal_low |
128 | { | |
129 | ||
130 | technique | |
131 | { | |
132 | pass | |
[1683] | 133 | { |
134 | ||
[1081] | 135 | texture_unit |
136 | { | |
[1683] | 137 | texture falt2.tga |
[1081] | 138 | } |
139 | ||
140 | } | |
141 | } | |
142 | } | |
143 | ||
144 | ||
145 | material 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.