Debian Codegraph @

pak6-patch088/scripts/weapon_railgun.shader

raw
1 models/weapons2/railgun/muzzlecenter
2 {
3 deformVertexes autosprite
4 {
5 clampmap models/weapons2/railgun/f_plasma.tga
6 blendfunc add
7 tcMod rotate 1246
8 }
9 {
10 clampmap models/weapons2/railgun/f_railgun.tga
11 blendfunc add
12 tcMod rotate -1246
13 }
14 }
15
16 models/weapons2/railgun/flare
17 {
18 deformVertexes autosprite
19 {
20 map models/weapons2/railgun/flare.tga
21 blendfunc add
22 rgbGen wave noise 0.5 0.5 0 1
23 }
24 }
25
26 models/weapons2/railgun/skin
27 {
28 {
29 map models/weapons2/railgun/skin.tga
30 rgbGen lightingDiffuse
31 }
32 {
33 map gfx/fx/detail/d_met.tga
34 blendfunc gl_dst_color gl_src_color
35 tcMod scale 8 8
36 detail
37 }
38 {
39 map models/weapons2/railgun/skin.tga
40 blendfunc gl_src_alpha gl_one
41 rgbGen lightingDiffuse
42 alphaGen lightingSpecular
43 detail
44 }
45 }
46
47 models/weapons2/railgun/energy
48 {
49 {
50 map models/weapons2/railgun/scrolly.tga
51 rgbGen entity
52 tcMod scroll -2 0
53 }
54 {
55 map models/weapons2/railgun/scrolly.tga
56 blendfunc add
57 rgbGen entity
58 tcMod scroll -1 0
59 }
60 {
61 clampmap gfx/fx/flares/wide.tga
62 blendfunc gl_dst_color gl_src_color
63 rgbGen const ( 0.52549 0.533333 0.858824 )
64 tcMod scale 1.1 1
65 tcMod stretch sin 1 0.2 0 1
66 }
67 }
68
69 models/weapons2/railgun/glass
70 {
71 cull disable
72 {
73 map textures/effects/tinfx2.tga
74 blendfunc add
75 rgbGen lightingDiffuse
76 tcGen environment
77 }
78 {
79 map $whiteimage
80 blendfunc gl_src_alpha gl_one
81 rgbGen lightingDiffuse
82 tcGen environment
83 alphaGen lightingSpecular
84 detail
85 }
86 }
87
88 railgunFlash
89 {
90 cull disable
91 {
92 clampmap models/weapons2/railgun/f_railgun2.tga
93 blendfunc add
94 rgbGen entity
95 tcMod rotate -74
96 }
97 {
98 clampmap models/weapons2/railgun/f_railgun2.tga
99 blendfunc add
100 rgbGen entity
101 tcMod rotate 53
102 }
103 }
104
105 railDisc
106 {
107 cull disable
108 {
109 clampmap models/weapons2/railgun/f_railgun3.tga
110 blendfunc add
111 rgbGen Vertex
112 tcMod rotate 130
113 }
114 }
115
116 railCore
117 {
118 sort nearest
119 cull disable
120 {
121 map models/weapons2/railgun/railcore.tga
122 blendfunc add
123 rgbGen Vertex
124 tcMod scroll -1 0
125 }
126 }
127