summaryrefslogtreecommitdiff
path: root/assets/scripts/ab_infestation_slime.shader
blob: 4fa03aab19441726084983b0913dd2cfc9b53838 (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
//EDGE MODELS SHADER
//by yalt 2013
//ye.boards.net

models/buildables/infestation_slime/slimetop
{
	cull disable
	{
    map models/buildables/infestation_slime/slimetop.tga
    alphaFunc GE128
    depthWrite
    rgbGen lightingDiffuse
	}
}

models/buildables/infestation_slime/slime
{
  {
    map models/buildables/infestation_slime/slime.tga
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	alphaFunc GT0
	depthWrite
  }
}
models/buildables/infestation_slime/slime_side
{
  {
    map models/buildables/infestation_slime/slime_side.tga
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	alphaFunc GT0
	depthWrite
  }
}
//slime hook
models/infestationslimezunge
{
	cull disable
	{
		map textures/slime_ye/zunge.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128
		depthWrite
		tcMod scroll 0.2 0
	}
}