Squashed commit of the following:
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
1 textures/effects_warpzone/wavy
2 {
3         surfaceparm nolightmap
4         // surfaceparm nonsolid // no, it must be solid like trigger
5         surfaceparm trans
6         surfaceparm nomarks
7         {
8                 map textures/effects_warpzone/wavy.tga
9                 tcMod scroll 0.06 0.06
10                 blendfunc blend
11         }
12         dp_camera
13         dp_refract 1 1 1 1 // makes the camera render like a refraction
14 }
15
16 textures/effects_warpzone/blueedge
17 {
18         surfaceparm nonsolid
19         surfaceparm nomarks
20         q3map_surfacelight 2500
21         cull none
22         {
23                 map textures/effects_warpzone/blueedge.tga
24                 blendfunc add
25         }
26 }
27
28 textures/effects_warpzone/rededge
29 {
30         surfaceparm nonsolid
31         surfaceparm nomarks
32         q3map_surfacelight 2500
33         cull none
34         {
35                 map textures/effects_warpzone/rededge.tga
36                 blendfunc add
37         }
38 }
39
40 textures/effects_warpzone/warpzone_backdrop
41 {
42         surfaceparm nomarks
43         nolightmap
44         {
45                 tcMod turb 0 0.4 0 0.08
46                 map textures/effects_warpzone/warpzone_backdrop
47         }
48 }