]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/effects_warpzone.shader
Fix NULL textures on afterslime
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
1 textures/effects_warpzone/wavy
2 {
3         dpoffsetmapping none
4         surfaceparm nolightmap
5         // surfaceparm nonsolid // no, it must be solid like trigger
6         surfaceparm trans
7         surfaceparm nomarks
8         {
9                 map textures/effects_warpzone/wavy.tga
10                 tcMod scroll 0.06 0.06
11                 blendfunc blend
12         }
13         dp_camera
14         dp_refract 1 1 1 1 // makes the camera render like a refraction
15 }
16
17 textures/effects_warpzone/blueedge
18 {
19         surfaceparm nonsolid
20         surfaceparm nomarks
21         q3map_surfacelight 2500
22         cull none
23         {
24                 map textures/effects_warpzone/blueedge.tga
25                 blendfunc GL_SRC_ALPHA GL_ONE
26         }
27 }
28
29 textures/effects_warpzone/rededge
30 {
31         surfaceparm nonsolid
32         surfaceparm nomarks
33         q3map_surfacelight 2500
34         cull none
35         {
36                 map textures/effects_warpzone/rededge.tga
37                 blendfunc GL_SRC_ALPHA GL_ONE
38         }
39 }
40
41 textures/effects_warpzone/greenedge
42 {
43         surfaceparm nonsolid
44         surfaceparm nomarks
45         q3map_surfacelight 2500
46         cull none
47         {
48                 map textures/effects_warpzone/greenedge.tga
49                 blendfunc GL_SRC_ALPHA GL_ONE
50         }
51 }
52
53
54 textures/effects_warpzone/warpzone_backdrop
55 {
56         surfaceparm nomarks
57         nolightmap
58         {
59                 tcMod turb 0 0.4 0 0.08
60                 map textures/effects_warpzone/warpzone_backdrop
61         }
62 }