1 | // Machine-made Shark 3D Snake Text 2x0 Stream. Format: ascii.
|
---|
2 | shader_array
|
---|
3 | {
|
---|
4 | name "direct_texturing_shmap"
|
---|
5 | ident "eng_shader_std.group"
|
---|
6 | param
|
---|
7 | {
|
---|
8 | env "shaderenv"
|
---|
9 | init_method "init_method"
|
---|
10 | child_array
|
---|
11 | {
|
---|
12 | ident "eng_shader_std.modelmesh"
|
---|
13 | param
|
---|
14 | {
|
---|
15 | env "shaderenv"
|
---|
16 | methods "init_method"
|
---|
17 | mesh_var "mesh"
|
---|
18 | texchan_var_array "tex0" "normalmap"
|
---|
19 | tex_attr_var_array "attr0"
|
---|
20 | usage "render"
|
---|
21 | insp_ident "showmesh"
|
---|
22 | insp_rank 80000
|
---|
23 | insp_color 1.0 1.0 0.0
|
---|
24 | }
|
---|
25 | }
|
---|
26 | {
|
---|
27 | ident "eng_shader_std.meshenter"
|
---|
28 | param
|
---|
29 | {
|
---|
30 | env "shaderenv"
|
---|
31 | mesh_var_array "mesh"
|
---|
32 | insp_ident "showbound"
|
---|
33 | insp_rank 80000
|
---|
34 | insp_color 1.0 0.0 0.0
|
---|
35 | enter_array
|
---|
36 | {
|
---|
37 | triggers "main_trigger" "mirror_trigger"
|
---|
38 | method "main_method"
|
---|
39 | }
|
---|
40 | {
|
---|
41 | triggers "gen_shmap_trigger"
|
---|
42 | method "gen_shmap_method"
|
---|
43 | }
|
---|
44 | {
|
---|
45 | triggers "lightmild_trigger"
|
---|
46 | method "lightmild_method"
|
---|
47 | param_array
|
---|
48 | {
|
---|
49 | src_extvar "ext_light_cenrange"
|
---|
50 | dest_var "light_cenrange"
|
---|
51 | }
|
---|
52 | {
|
---|
53 | src_extvar "ext_light_ambient"
|
---|
54 | dest_var "light_ambient"
|
---|
55 | }
|
---|
56 | {
|
---|
57 | src_extvar "ext_light_diffuse"
|
---|
58 | dest_var "light_diffuse"
|
---|
59 | }
|
---|
60 | {
|
---|
61 | src_extvar "ext_light_specular"
|
---|
62 | dest_var "light_specular"
|
---|
63 | }
|
---|
64 | }
|
---|
65 | {
|
---|
66 | triggers "lightshmap_trigger"
|
---|
67 | method "lightshmap_method"
|
---|
68 | param_array
|
---|
69 | {
|
---|
70 | src_extvar "ext_light_cenrange"
|
---|
71 | dest_var "light_cenrange"
|
---|
72 | }
|
---|
73 | {
|
---|
74 | src_extvar "ext_light_ambient"
|
---|
75 | dest_var "light_ambient"
|
---|
76 | }
|
---|
77 | {
|
---|
78 | src_extvar "ext_light_diffuse"
|
---|
79 | dest_var "light_diffuse"
|
---|
80 | }
|
---|
81 | {
|
---|
82 | src_extvar "ext_light_specular"
|
---|
83 | dest_var "light_specular"
|
---|
84 | }
|
---|
85 | {
|
---|
86 | src_extvar "ext_light_projmat"
|
---|
87 | dest_var "light_projmat"
|
---|
88 | }
|
---|
89 | {
|
---|
90 | src_extvar "ext_light_shmapmat"
|
---|
91 | dest_var "light_shmapmat"
|
---|
92 | }
|
---|
93 | {
|
---|
94 | src_extvar "ext_light_projtex"
|
---|
95 | dest_var "light_projtex"
|
---|
96 | }
|
---|
97 | {
|
---|
98 | src_extvar "ext_light_shmap"
|
---|
99 | dest_var "light_shmap"
|
---|
100 | }
|
---|
101 | }
|
---|
102 | }
|
---|
103 | }
|
---|
104 | {
|
---|
105 | ident "eng_shader_std.paintmesh"
|
---|
106 | param
|
---|
107 | {
|
---|
108 | env "shaderenv"
|
---|
109 | methods "main_method"
|
---|
110 | rank 12000
|
---|
111 | insp_ident "showwire"
|
---|
112 | cull_mode "none"
|
---|
113 | depth_test "less_equal"
|
---|
114 | depth_write 1
|
---|
115 | alpha_test "greater_equal"
|
---|
116 | alpha_ref 80.0
|
---|
117 | use_vertex_point 1
|
---|
118 | use_vertex_normal 1
|
---|
119 | mesh_var "mesh"
|
---|
120 | texchan_var_array "tex0"
|
---|
121 | tex_attr_var_array "attr0" ""
|
---|
122 | attrmat_var_array
|
---|
123 | lightarray_var ""
|
---|
124 | shaderprog_ident
|
---|
125 | "levelutil/shader/prog/direct_texturing_ambient.s3d_shader"
|
---|
126 | & "prog_run"
|
---|
127 | shaderprog_param_array
|
---|
128 | }
|
---|
129 | }
|
---|
130 | {
|
---|
131 | ident "eng_shader_std.paintmesh"
|
---|
132 | param
|
---|
133 | {
|
---|
134 | env "shaderenv"
|
---|
135 | rank 99999
|
---|
136 | cull_mode "none"
|
---|
137 | depth_test "less_equal"
|
---|
138 | depth_write 1
|
---|
139 | alpha_test "greater_equal"
|
---|
140 | alpha_ref 80.0
|
---|
141 | methods "gen_shmap_method"
|
---|
142 | mesh_var "mesh"
|
---|
143 | texchan_var_array "tex0"
|
---|
144 | tex_attr_var_array "attr0"
|
---|
145 | attrmat_var_array ""
|
---|
146 | use_vertex_normal 1
|
---|
147 | use_vertex_point 1
|
---|
148 | shaderprog_ident
|
---|
149 | "levelutil/shader/prog/gen_shmap_direct_texturing.s3d_shad"
|
---|
150 | & "erprog_run"
|
---|
151 | shaderprog_param_array
|
---|
152 | }
|
---|
153 | }
|
---|
154 | {
|
---|
155 | ident "eng_shader_std.paintmesh"
|
---|
156 | param
|
---|
157 | {
|
---|
158 | env "shaderenv"
|
---|
159 | methods "lightmild_method"
|
---|
160 | rank 99999
|
---|
161 | insp_ident "showwire"
|
---|
162 | cull_mode "none"
|
---|
163 | depth_test "less_equal"
|
---|
164 | depth_write 1
|
---|
165 | use_vertex_point 1
|
---|
166 | use_vertex_normal 1
|
---|
167 | mesh_var "mesh"
|
---|
168 | texchan_var_array "tex0"
|
---|
169 | tex_attr_var_array "attr0" ""
|
---|
170 | attrmat_var_array
|
---|
171 | lightarray_var ""
|
---|
172 | shaderprog_ident
|
---|
173 | "levelutil/shader/prog/direct_texturing_light.s3d_shaderpr"
|
---|
174 | & "og_run"
|
---|
175 | shaderprog_param_array
|
---|
176 | {
|
---|
177 | src_var "light_cenrange"
|
---|
178 | dest_progvar "prog_light_cenrange"
|
---|
179 | }
|
---|
180 | {
|
---|
181 | src_var "light_ambient"
|
---|
182 | dest_progvar "prog_light_ambient"
|
---|
183 | }
|
---|
184 | {
|
---|
185 | src_var "light_diffuse"
|
---|
186 | dest_progvar "prog_light_diffuse"
|
---|
187 | }
|
---|
188 | {
|
---|
189 | src_var "light_specular"
|
---|
190 | dest_progvar "prog_light_specular"
|
---|
191 | }
|
---|
192 | }
|
---|
193 | }
|
---|
194 | {
|
---|
195 | ident "eng_shader_std.paintmesh"
|
---|
196 | param
|
---|
197 | {
|
---|
198 | env "shaderenv"
|
---|
199 | methods "lightshmap_method"
|
---|
200 | rank 99999
|
---|
201 | insp_ident "showwire"
|
---|
202 | depth_test "less_equal"
|
---|
203 | depth_write 0
|
---|
204 | alpha_test "greater_equal"
|
---|
205 | alpha_ref 80.0
|
---|
206 | use_vertex_point 1
|
---|
207 | use_vertex_normal 1
|
---|
208 | mesh_var "mesh"
|
---|
209 | texchan_var_array "tex0" "normalmap" "light_projtex"
|
---|
210 | "light_shmap"
|
---|
211 | tex_attr_var_array "attr0"
|
---|
212 | attrmat_var_array ""
|
---|
213 | cull_mode "none"
|
---|
214 | alpha_test "greater_equal"
|
---|
215 | alpha_ref 80.0
|
---|
216 | lightarray_var ""
|
---|
217 | shaderprog_ident
|
---|
218 | "levelutil/shader/prog/direct_texturing_shmap.s3d_shaderpr"
|
---|
219 | & "og_run"
|
---|
220 | shaderprog_param_array
|
---|
221 | {
|
---|
222 | src_var "light_cenrange"
|
---|
223 | dest_progvar "prog_light_cenrange"
|
---|
224 | }
|
---|
225 | {
|
---|
226 | src_var "light_ambient"
|
---|
227 | dest_progvar "prog_light_ambient"
|
---|
228 | }
|
---|
229 | {
|
---|
230 | src_var "light_diffuse"
|
---|
231 | dest_progvar "prog_light_diffuse"
|
---|
232 | }
|
---|
233 | {
|
---|
234 | src_var "light_specular"
|
---|
235 | dest_progvar "prog_light_specular"
|
---|
236 | }
|
---|
237 | {
|
---|
238 | src_var "light_projmat"
|
---|
239 | dest_progvar "prog_light_projmat"
|
---|
240 | }
|
---|
241 | {
|
---|
242 | src_var "light_shmapmat"
|
---|
243 | dest_progvar "prog_light_shmapmat"
|
---|
244 | }
|
---|
245 | }
|
---|
246 | }
|
---|
247 | }
|
---|
248 | }
|
---|
249 | {
|
---|
250 | name "inactive"
|
---|
251 | ident ""
|
---|
252 | param
|
---|
253 | {
|
---|
254 | }
|
---|
255 | }
|
---|
256 | $ |
---|