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

//human light(now: power field)

models/powerfield_base/blue_particle
{  
  cull disable
  {
    map models/buildables/light/blue_particle.tga
	blendFunc add
    rgbGen vertex
    alphaGen vertex
  }
}

models/powerfield_base
{
  {
	map models/buildables/light/model_texture.jpg
	rgbGen identity
  }
 //  {
//	map models/buildables/light/model_texture_add.jpg
//	blendfunc add
//	rgbGen identity
 //}
}

models/powerfield_core
{
  {
	map models/buildables/light/model_texture_3.jpg
    blendfunc add
    rgbGen identity
    tcMod scroll 1 0.5
  }
  {
	map models/buildables/light/model_texture_3.jpg
    blendfunc add
    rgbGen identity
    tcMod scroll -1 -0.5
  }

}

models/powerfield_field
{
  {
	map models/buildables/light/model_texture_3.jpg
    blendfunc add
    tcMod scroll 0.1 0.1
  }

}