summaryrefslogtreecommitdiff
path: root/assets/scripts/g_decals.shader
blob: 71096b6ecd309323c1d303d29b49ef6873634784 (plain)
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/marks/shadow // blob shadow
{
  polygonOffset
  {
    map gfx/marks/shadow.tga
    blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    rgbGen vertex
    alphaGen vertex
  }
}

gfx/marks/wake // foamy water around swimming players
{
  polygonOffset
  {
    clampmap gfx/marks/splash.tga
    blendFunc GL_ONE GL_ONE
    rgbGen vertex
    tcmod rotate 250
    tcMod stretch sin .9 0.1 0 0.7
    rgbGen wave sin .7 .3 .25 .5
  }
  {
    clampmap gfx/marks/splash.tga
    blendFunc GL_ONE GL_ONE
    rgbGen vertex
    tcmod rotate -230
    tcMod stretch sin .9 0.05 0 0.9
    rgbGen wave sin .7 .3 .25 .4
  }
}

gfx/marks/bullet_mrk // bullet decal
{
  polygonOffset
  {
    map gfx/marks/bullet_mrk.tga
    blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
    rgbGen exactVertex
  }
}

gfx/marks/burn_mrk // burn mark
{
  polygonOffset
  {
    map gfx/marks/burn_mrk.tga
    blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
    rgbGen exactVertex
  }
}

gfx/marks/plasma_mrk // plasma decal
{
  polygonOffset
  {
    map gfx/marks/plasma_mrk.tga
    blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
    rgbGen vertex
    alphaGen vertex
  }
}

creep // alien creep texture
{
  nopicmip
  polygonoffset
  {
    clampmap gfx/misc/creep.tga
    blendfunc blend
    rgbGen identityLighting
    alphaGen Vertex
  }
}

greensplat // alien acid/blood decal
{
	nopicmip
	polygonoffset
	{
		map	gfx/blood/greensplat.tga
  blendfunc blend
	}
}

greensplat2 // alien acid/blood decal
{
	nopicmip
	polygonoffset
	{
		map	gfx/blood/greenblood01frame08.tga
  blendfunc blend
	}
}

greensplat3 // alien acid/blood decal
{
	nopicmip
	polygonoffset
	{
		map	gfx/blood/greenblood01frame07.tga
  blendfunc blend
	}
}

greensplat4 // alien acid/blood decal
{
	nopicmip
	polygonoffset
	{
		map	gfx/blood/greenblood03frame07.tga
  blendfunc blend
	}
}