]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/effects_warpzone.shader
exx offsetmapping height fixes
[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/warpzone_backdrop
42 {
43         surfaceparm nomarks
44         nolightmap
45         {
46                 tcMod turb 0 0.4 0 0.08
47                 map textures/effects_warpzone/warpzone_backdrop
48         }
49 }