source:
downloads/Samples/Media/materials/scripts/Example-Water.material
@
3
Last change on this file since 3 was 3, checked in by anonymous, 17 years ago | |
---|---|
File size: 2.1 KB |
Rev | Line | |
---|---|---|
[3] | 1 | |
2 | material Examples/Water0 | |
3 | { | |
4 | technique | |
5 | { | |
6 | pass | |
7 | { | |
8 | scene_blend colour_blend | |
9 | depth_write off | |
10 | ||
11 | texture_unit | |
12 | { | |
13 | texture Water01.jpg | |
14 | env_map spherical | |
15 | scroll_anim 0.01 0.01 | |
16 | } | |
17 | } | |
18 | } | |
19 | } | |
20 | material Examples/Water1 | |
21 | { | |
22 | technique | |
23 | { | |
24 | pass | |
25 | { | |
26 | scene_blend colour_blend | |
27 | depth_write off | |
28 | ||
29 | texture_unit | |
30 | { | |
31 | texture BeachStones.jpg | |
32 | scale 0.25 0.25 | |
33 | } | |
34 | ||
35 | texture_unit | |
36 | { | |
37 | texture Water01.jpg | |
38 | env_map spherical | |
39 | scroll_anim 0.01 0.01 | |
40 | } | |
41 | } | |
42 | } | |
43 | } | |
44 | material Examples/Water2 | |
45 | { | |
46 | technique | |
47 | { | |
48 | pass | |
49 | { | |
50 | scene_blend colour_blend | |
51 | depth_write off | |
52 | ||
53 | texture_unit | |
54 | { | |
55 | texture Water01.jpg | |
56 | scroll_anim 0.01 0.01 | |
57 | } | |
58 | } | |
59 | } | |
60 | } | |
61 | material Examples/Water3 | |
62 | { | |
63 | technique | |
64 | { | |
65 | pass | |
66 | { | |
67 | scene_blend colour_blend | |
68 | depth_write off | |
69 | ||
70 | texture_unit | |
71 | { | |
72 | texture Water02.jpg | |
73 | env_map spherical | |
74 | scroll_anim 0.01 0.01 | |
75 | rotate_anim 0.03 | |
76 | } | |
77 | } | |
78 | } | |
79 | } | |
80 | material Examples/Water4 | |
81 | { | |
82 | technique | |
83 | { | |
84 | pass | |
85 | { | |
86 | cull_hardware none | |
87 | cull_software none | |
88 | ||
89 | texture_unit | |
90 | { | |
91 | texture Water02.jpg | |
92 | env_map spherical | |
93 | scroll_anim 0.01 0.01 | |
94 | } | |
95 | } | |
96 | } | |
97 | } | |
98 | material Examples/Water5 | |
99 | { | |
100 | technique | |
101 | { | |
102 | pass | |
103 | { | |
104 | cull_hardware none | |
105 | cull_software none | |
106 | ||
107 | texture_unit | |
108 | { | |
109 | texture BeachStones.jpg | |
110 | scale 0.25 0.25 | |
111 | } | |
112 | ||
113 | texture_unit | |
114 | { | |
115 | texture Water01.jpg | |
116 | env_map spherical | |
117 | scroll_anim 0.01 0.01 | |
118 | } | |
119 | } | |
120 | } | |
121 | } | |
122 | material Examples/Water6 | |
123 | { | |
124 | technique | |
125 | { | |
126 | pass | |
127 | { | |
128 | lighting off | |
129 | ||
130 | texture_unit | |
131 | { | |
132 | cubic_texture cubescene.jpg combinedUVW | |
133 | tex_address_mode clamp | |
134 | env_map cubic_reflection | |
135 | } | |
136 | } | |
137 | } | |
138 | } | |
139 | material Examples/Water7 | |
140 | { | |
141 | technique | |
142 | { | |
143 | pass | |
144 | { | |
145 | cull_hardware none | |
146 | cull_software none | |
147 | ||
148 | texture_unit | |
149 | { | |
150 | texture BeachStones.jpg | |
151 | scale 0.25 0.25 | |
152 | } | |
153 | ||
154 | texture_unit | |
155 | { | |
156 | cubic_texture cubescene.jpg combinedUVW | |
157 | tex_address_mode clamp | |
158 | env_map cubic_reflection | |
159 | } | |
160 | } | |
161 | } | |
162 | } | |
163 | material Examples/Water8 | |
164 | { | |
165 | technique | |
166 | { | |
167 | pass | |
168 | { | |
169 | lighting off | |
170 | scene_blend add | |
171 | depth_write off | |
172 | cull_hardware none | |
173 | cull_software none | |
174 | ||
175 | texture_unit | |
176 | { | |
177 | cubic_texture cubescene.jpg combinedUVW | |
178 | tex_address_mode clamp | |
179 | env_map cubic_reflection | |
180 | } | |
181 | } | |
182 | } | |
183 | } |
Note: See TracBrowser
for help on using the repository browser.