Line | |
---|
1 | // Machine-made Shark 3D Snake Text 2x0 Stream. Format: ascii.
|
---|
2 | shader_array
|
---|
3 | {
|
---|
4 | name "my_mild_light_shader"
|
---|
5 | sort "drvlight"
|
---|
6 | ident "eng_shader_std.group"
|
---|
7 | param
|
---|
8 | {
|
---|
9 | env "shaderenv"
|
---|
10 | init_method "init_method"
|
---|
11 | child_array
|
---|
12 | {
|
---|
13 | ident "eng_shader_std.lightparam"
|
---|
14 | param
|
---|
15 | {
|
---|
16 | env "shaderenv"
|
---|
17 | methods "main_method"
|
---|
18 | diffuse 1.0 1.0 1.0
|
---|
19 | specular 1.0 1.0 1.0
|
---|
20 | range 100.0
|
---|
21 | multiplier 1.0
|
---|
22 | diffuse_var "light_diffuse"
|
---|
23 | ambient_var "light_ambient"
|
---|
24 | specular_var "light_specular"
|
---|
25 | cenrange_var "light_cenrange"
|
---|
26 | ambient 0.403922 0.403922 0.403922
|
---|
27 | }
|
---|
28 | }
|
---|
29 | {
|
---|
30 | ident "eng_shader_std.lightenter"
|
---|
31 | param
|
---|
32 | {
|
---|
33 | env "shaderenv"
|
---|
34 | cenrange_var "light_cenrange"
|
---|
35 | enter_array
|
---|
36 | {
|
---|
37 | triggers "main_trigger" "mirror_trigger"
|
---|
38 | method "main_method"
|
---|
39 | }
|
---|
40 | }
|
---|
41 | }
|
---|
42 | {
|
---|
43 | ident "eng_shader_std.lightenum"
|
---|
44 | param
|
---|
45 | {
|
---|
46 | env "shaderenv"
|
---|
47 | methods "main_method"
|
---|
48 | rank 10000
|
---|
49 | cenrange_var "light_cenrange"
|
---|
50 | coll_var "receivers"
|
---|
51 | }
|
---|
52 | }
|
---|
53 | {
|
---|
54 | ident "eng_shader_std.collexec"
|
---|
55 | param
|
---|
56 | {
|
---|
57 | env "shaderenv"
|
---|
58 | methods "main_method"
|
---|
59 | coll_var "receivers"
|
---|
60 | rank 10000
|
---|
61 | exec_trigger "drvlight_trigger"
|
---|
62 | exec_param_array
|
---|
63 | {
|
---|
64 | src_var "light_cenrange"
|
---|
65 | dest_extvar "ext_light_cenrange"
|
---|
66 | }
|
---|
67 | {
|
---|
68 | src_var "light_diffuse"
|
---|
69 | dest_extvar "ext_light_diffuse"
|
---|
70 | }
|
---|
71 | {
|
---|
72 | src_var "light_ambient"
|
---|
73 | dest_extvar "ext_light_ambient"
|
---|
74 | }
|
---|
75 | {
|
---|
76 | src_var "light_specular"
|
---|
77 | dest_extvar "ext_light_specular"
|
---|
78 | }
|
---|
79 | }
|
---|
80 | }
|
---|
81 | }
|
---|
82 | }
|
---|
83 |
|
---|
84 | $ |
---|
Note: See
TracBrowser
for help on using the repository browser.