-
Notifications
You must be signed in to change notification settings - Fork 9
/
misc.shader
114 lines (106 loc) · 1.24 KB
/
misc.shader
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
gfx/misc/detail
{
nopicmip
{
map gfx/misc/detail
blendFunc GL_DST_COLOR GL_SRC_COLOR
rgbgen identity
}
}
gfx/misc/greenbuild
{
{
map gfx/misc/greenbuild
blendfunc add
rgbGen identity
}
}
gfx/misc/redbuild
{
{
map gfx/misc/redbuild
blendfunc add
rgbGen identity
}
}
gfx/misc/tracer
{
cull none
{
map gfx/sprites/spark
blendFunc blend
}
}
console
{
nopicmip
nomipmaps
{
map gfx/colors/black
}
}
creep
{
nopicmip
polygonoffset
twoSided
{
clampmap gfx/creep/creep
blendfunc blend
blend diffusemap
rgbGen identity
alphaGen vertex
alphaFunc GE128
}
specularMap gfx/creep/creep_s
normalMap gfx/creep/creep_n
}
outline
{
cull none
nopicmip
nomipmaps
{
map gfx/2d/outline
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbgen vertex
}
}
scope
{
{
clampmap gfx/2d/scope/zoom
alphaGen vertex
blend blend
}
{
map gfx/2d/scope/bg
alphaGen vertex
blend blend
}
{
map gfx/2d/scope/circle1
alphaGen vertex
blend blend
}
{
clampmap gfx/2d/scope/circle2
alphaGen vertex
blend blend
tcMod rotate 45
}
{
clampmap gfx/2d/scope/crosshair
alphaGen vertex
blend blend
}
}
white
{
cull none
{
map *white
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbgen vertex
}
}