File: weaponry.shader

package info (click to toggle)
openarena-data 0.8.5split-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 191,828 kB
  • sloc: ansic: 4,262; makefile: 142; perl: 22
file content (86 lines) | stat: -rw-r--r-- 1,237 bytes parent folder | download | duplicates (9)
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
// models/weapons2/shotgun/f_shotgun
//{
//	sort additive
//	cull disable
//	{
//		map	models/weapons2/shotgun/f_shotgun.tga
//		blendfunc add
//	}
//} 

muzzleSprite
{
	sort additive
	cull disable
	deformVertexes autosprite
	{
		map	models/weapons2/shotgun/shotgun_flash.tga
		blendfunc add
	}
}
muzzleSide
{
	sort additive
	deformVertexes autosprite2
	{
		map	models/weapons2/shotgun/shotgun_flashside.tga
		blendfunc add
	}
}

muzzleSphere
{
	sort additive
	cull disable
	{
		map	models/weapons2/shotgun/shotgun_flash.tga
		blendfunc add
	}
}

rocketProjectile
{

	{
		map	models/ammo/rocket/rocket.tga
	rgbGen lightingDiffuse
	}
	{
		map models/weapons2/machinegun/woodspec.tga
		blendfunc gl_dst_color gl_src_color
		//rgbGen lightingDiffuse
		tcGen environment 
	}
}

rocketThrustf
{
	deformVertexes autosprite2
	{
		map models/weapons2/machinegun/f_machinegun.tga
		blendfunc add
		tcMod rotate 1246
	}
	{
		map models/weapons2/machinegun/f_machinegun.tga
		blendfunc add
		tcMod rotate -1246
	}
}

rocketThrust
{
	{
	// do nothing.
	}
}
rocketFlare
{
	deformVertexes autosprite
	{
		map textures/oafx/rocketflare.tga
		blendfunc add
		
	}
	
}