Debian Codegraph @

pak0/scripts/decals.shader

raw
1 wake
2 {
3 cull disable
4 {
5 animmap 30 sprites/multwake1.tga sprites/multwake2.tga sprites/multwake3.tga sprites/multwake4.tga sprites/multwake5.tga sprites/multwake6.tga sprites/multwake7.tga sprites/multwake8.tga
6 blendfunc gl_dst_color gl_src_color
7 }
8 }
9
10 newishwake
11 {
12 {
13 animmap 8 sprites/splash6.tga sprites/splash5.tga sprites/splash4.tga sprites/splash3.tga sprites/splash2.tga
14 blendfunc gl_src_alpha gl_one
15 alphaGen wave inversesawtooth 0 1 0 8
16 }
17 {
18 animmap 8 sprites/splash5.tga sprites/splash4.tga sprites/splash3.tga sprites/splash2.tga sprites/splash6.tga
19 blendfunc gl_src_alpha gl_one
20 alphaGen wave sawtooth 0 1 0 8
21 }
22 }
23
24 gfx/misc/tracer
25 {
26 cull disable
27 {
28 map gfx/misc/tracer2.tga
29 blendfunc add
30 }
31 }
32
33
34 gfx/damage/bullet_mrk
35 {
36 polygonoffset
37 {
38 map gfx/damage/bulletmult.tga
39 blendfunc gl_dst_color gl_src_color
40 alphaGen Vertex
41 }
42 }
43
44 oldgfx/damage/bullet_mrk
45 {
46 polygonoffset
47 {
48 map gfx/damage/bullet_mrk.tga
49 blendfunc gl_zero gl_one_minus_src_color
50 rgbGen Vertex
51 }
52 }
53
54 gfx/damage/burn_med_mrk
55 {
56 polygonoffset
57 {
58 map gfx/damage/burn_med_mrk.tga
59 blendfunc gl_zero gl_one_minus_src_color
60 rgbGen Vertex
61 }
62 }
63
64 gfx/damage/hole_lg_mrk
65 {
66 polygonoffset
67 {
68 map gfx/damage/hole_lg_mrk.tga
69 blendfunc gl_zero gl_one_minus_src_color
70 rgbGen Vertex
71 }
72 }
73
74 gfx/damage/plasma_mrk
75 {
76 polygonoffset
77 {
78 map gfx/damage/plasma_mrk.tga
79 blendfunc blend
80 rgbGen Vertex
81 alphaGen Vertex
82 }
83 }
84
85 markShadow
86 {
87 polygonoffset
88 {
89 map gfx/damage/shadow.tga
90 blendfunc gl_zero gl_one_minus_src_color
91 rgbGen Vertex
92 }
93 }
94
95 projectionShadow
96 {
97 polygonoffset
98 deformvertexes projectionshadow //need this
99 {
100 map $whiteimage
101 blendfunc filter
102 rgbGen wave square 0 0 0 0
103 }
104 }
105
106 oldwake
107 {
108 {
109 clampmap sprites/splash.tga
110 blendfunc add
111 rgbGen wave sin 0.7 0.3 0.25 0.5
112 tcMod rotate 250
113 tcMod stretch sin 0.9 0.1 0 0.7
114 }
115 {
116 clampmap sprites/splash.tga
117 blendfunc add
118 rgbGen wave sin 0.7 0.3 0.25 0.4
119 tcMod rotate -230
120 tcMod stretch sin 0.9 0.05 0 0.9
121 }
122 }
123
124
125 waterBubble
126 {
127 sort underwater
128 cull disable
129 {
130 map sprites/bubble.tga
131 blendfunc blend
132 rgbGen Vertex
133 alphaGen Vertex
134 }
135 }
136