400c334d5c8fb70e572904c2f4dcaf2b62ee78ab
[xonotic/xonotic-maps.pk3dir.git] / scripts / warpzone.shader
1 textures/warpzone/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/warpzone/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/warpzone/warpzone-blueedge
17 {
18         surfaceparm nonsolid
19         surfaceparm nomarks
20         q3map_surfacelight 2500
21         cull none
22         {
23                 map textures/warpzone/warpzone-blueedge.tga
24                 blendfunc add
25         }
26 }