Mirio/opium
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_opium.shader
1 //PIPE LIQUID
2
3 textures/map_opium/lava0_blue_flow_pipe
4 {
5         qer_editorimage textures/liquids_lava/lava0_blue.tga
6         surfaceparm lava
7         surfaceparm noimpact
8         surfaceparm trans
9         cull disable
10         //deformVertexes wave 2 sin 1 2 0.25 0.1
11         q3map_surfacelight 400
12         q3map_lightSubdivide 64
13         {
14                 map textures/liquids_lava/lava0_blue.tga
15                 blendfunc GL_SRC_ALPHA GL_ONE
16                 tcMod scroll 0 -0.25
17         }
18 }
19
20 textures/map_opium/lava0_blue_flow_pipe_100
21 {
22         qer_editorimage textures/liquids_lava/lava0_blue.tga
23         surfaceparm lava
24         surfaceparm noimpact
25         surfaceparm trans
26         cull disable
27         //deformVertexes wave 2 sin 1 2 0.25 0.1
28         q3map_surfacelight 100
29         q3map_lightSubdivide 64
30         {
31                 map textures/liquids_lava/lava0_blue.tga
32                 blendfunc GL_SRC_ALPHA GL_ONE
33                 tcMod scroll 0 -0.25
34         }
35 }
36
37 textures/map_opium/lava0_flow_pipe_100
38 {
39         qer_editorimage textures/liquids_lava/lava0.tga
40         surfaceparm lava
41         surfaceparm noimpact
42         surfaceparm trans
43         cull disable
44         //deformVertexes wave 2 sin 1 2 0.25 0.1
45         q3map_surfacelight 100
46         q3map_lightSubdivide 64
47         {
48                 map textures/liquids_lava/lava0.tga
49                 blendfunc GL_SRC_ALPHA GL_ONE
50                 tcMod scroll 0 -0.25
51         }
52 }
53
54 //WIRES NONSOLID
55
56 textures/map_opium/floor-simplines
57 {
58         qer_editorimage textures/exx/floor/floor_simplines.tga
59         q3map_bounceScale  0.75
60         dpoffsetmapping - 1 match8 244
61         dpglossintensitymod 1.5
62         dpglossexponentmod  4
63         surfaceparm nonsolid
64         {
65                 map textures/exx/floor/floor_simplines.tga
66         }
67         {
68                 map $lightmap
69                 rgbGen identity
70                 tcGen lightmap
71                 blendfunc filter
72         }
73 }