File: suction.shader

package info (click to toggle)
openarena-data 0.8.5split-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 191,764 kB
  • sloc: ansic: 4,254; makefile: 88; perl: 22
file content (155 lines) | stat: -rw-r--r-- 2,987 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
textures/suction/light_solid_red
{
	q3map_lightimage textures/suction/solid_red.jpg
	qer_editorimage textures/suction/solid_red.jpg
	surfaceparm nomarks
	surfaceparm nolightmap
	q3map_surfacelight 1000
	q3map_backsplash 100 32
	q3map_lightsubdivide 32
	{
		map textures/suction/solid_red.jpg
		blendFunc GL_ONE GL_ZERO
	}
}

textures/suction/light_solid_white
{
	qer_editorimage textures/suction/solid_white.jpg
	surfaceparm nomarks
	surfaceparm nolightmap
	{
		map textures/suction/solid_white.jpg
		blendFunc GL_ONE GL_ZERO
	}
}

textures/suction/light_solid_blue
{
	q3map_lightimage textures/suction/solid_blue.jpg
	qer_editorimage textures/suction/solid_blue.jpg
	surfaceparm nomarks
	surfaceparm nolightmap
	q3map_surfacelight 1000
	q3map_backsplash 100 32
	q3map_lightsubdivide 32
	{
		map textures/suction/solid_blue.jpg
		blendFunc GL_ONE GL_ZERO
	}
}

textures/suction/beam_red
{
	qer_trans 0.5
	surfaceparm nonsolid
	surfaceparm nolightmap
	surfaceparm trans
	cull disable	
	{
		map textures/suction/beam_red.tga
		blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map textures/suction/beam_mover.jpg
		blendfunc add
		tcGen base
		tcMod scroll 0 -0.2
	}
}


textures/suction/beam_blue
{
	qer_trans 0.5
	surfaceparm nonsolid
	surfaceparm nolightmap
	surfaceparm trans
	cull disable	
	{
		map textures/suction/beam_blue.tga
		blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map textures/suction/beam_mover.jpg
		blendfunc add
		tcGen base
		tcMod scroll 0 -0.2
	}
}


textures/suction/greenfloor
{
	qer_editorimage textures/suction/solid_green.jpg
	qer_trans 0.5
	surfaceparm nolightmap
	surfaceparm trans
	q3map_nonplanar
	q3map_shadeangle 160
	cull disable
	{
		map textures/suction/solid_green.jpg
		alphaGen const 0.45
		blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map textures/suction/envmap.jpg
		blendfunc add
		tcGen environment
		tcMod scale 0.3 0.3
	}
}


textures/suction/logo_red
{
	qer_editorimage textures/suction/logo.tga
	surfaceparm nolightmap
	surfaceparm trans
	polygonOffset
	{
		clampmap textures/suction/logo.tga
		blendfunc blend
		rgbGen const ( 1 0 0 )
	}
}

textures/suction/logo_blue
{
	qer_editorimage textures/suction/logo.tga
	surfaceparm nolightmap
	surfaceparm trans
	polygonOffset
	{
		clampmap textures/suction/logo.tga
		blendfunc blend
		rgbGen const ( 0 0 1 )
	}
}

textures/suction/sky
{
	q3map_lightimage textures/suction/plasma1
	qer_editorimage textures/suction/plasma1
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky

	q3map_sunExt 0.929 0.874 0.435 100 45 60 4 16
	q3map_globaltexture

	skyparms env/plasky/plasky 1024 -
	{
		map textures/suction/plasma1.tga
		tcMod scale 0.08 0.08
		tcMod scroll 0.001 0.001
		blendfunc filter
	}
	{
		map textures/suction/plasma2.tga
		tcMod scale 0.09 0.09
		tcMod scroll -0.002 -0.002
		blendfunc filter
	}
}