summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_rocketl.shader
blob: 28c56cbc7cdb4e7868b5dce852de09fc6ed3e158 (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
rocketFlash
{
	deformVertexes autosprite
	{
		clampmap models/weapons/rocketl/muzzy.tga
		blendfunc add
		tcMod rotate 1246
	}
	{
		clampmap models/weapons/rocketl/muzzy.tga
		blendfunc add
		tcMod rotate -1246
	}
}

rocketFlare
{
	deformVertexes autosprite
	{
		clampmap models/weapons/rocketl/wide.tga
		blendfunc add
		rgbGen const ( 0.980392 0.882353 0.737255 )
	}
}

rocketFlareParticle
{
	{
		clampmap models/weapons/rocketl/wide.tga
		blendfunc add
		rgbGen const ( 0.980392 0.882353 0.737255 )
	}
}

rocketThrust
{
	cull disable
	{
		clampmap models/weapons/rocketl/flarey.tga
		blendfunc add
		rgbGen const ( 0.541176 0.341176 0.156863 )
		tcMod rotate -96
		tcMod stretch sin 0.3 0.7 0 8 
	}
	{
		clampmap models/weapons/rocketl/wide.tga
		blendfunc add
		rgbGen const ( 0.843137 0.588235 0.4 )
	}
	{
		clampmap models/weapons/rocketl/newflare.tga
		blendfunc add
		rgbGen const ( 0.713726 0.270588 0.121569 )
		tcMod rotate 46
		tcMod stretch inversesawtooth 0.6 0.4 0 4 
	}
}