]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - scripts/portals.shader
Give kill credit if a player falls into the void after passing through your portal
[xonotic/xonotic-data.pk3dir.git] / scripts / portals.shader
1 portals_red_vortex
2 {
3         cull none
4         deformVertexes wave 100 sin 1.5 0.6 0 1.5
5         {
6                 map textures/portals/portals_red_vortex.tga
7                 tcMod rotate 10
8                 blendfunc blend
9         }
10 }
11
12 portals_blue_vortex
13 {
14         cull none
15         deformVertexes wave 100 sin 1.5 0.6 0 1.5
16         {
17                 map textures/portals/portals_blue_vortex.tga
18                 tcMod rotate 10
19                 blendfunc blend
20         }
21 }
22
23 portals_inactive_vortex
24 {
25         cull none
26         deformVertexes wave 100 sin 1.5 0.6 0 1.5
27         {
28                 map textures/portals/portals_inactive_vortex.tga
29                 tcMod rotate 10
30                 blendfunc blend
31         }
32 }
33
34 portals/portals_red
35 {
36         surfaceparm nonsolid
37         {
38                 map textures/portals/portals_red.tga
39         }
40         {
41                 map $lightmap
42                 blendfunc filter
43         }
44 }
45
46 portals/portals_blue
47 {
48         surfaceparm nonsolid
49         {
50                 map textures/portals/portals_blue.tga
51         }
52         {
53                 map $lightmap
54                 blendfunc filter
55         }
56 }
57
58 portals/portals_inactive
59 {
60         surfaceparm nonsolid
61         {
62                 map textures/portals/portals_inactive.tga
63         }
64         {
65                 map $lightmap
66                 blendfunc filter
67         }
68 }