Add Cushion texture - thanks hotdog
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_lava.shader
1 textures/liquids_lava/lava0
2 {
3         qer_editorimage textures/liquids_lava/lava0.tga
4         surfaceparm lava
5         surfaceparm noimpact
6         surfaceparm trans
7         cull disable
8         deformVertexes wave 150.0 sin 2 5 0.25 0.1
9         Q3map_TessSize 128
10         q3map_surfacelight 1000
11         q3map_lightSubdivide 64
12         {
13                 map textures/liquids_lava/lava0.tga
14                 blendfunc GL_SRC_ALPHA GL_ONE
15         }
16 }
17
18 textures/liquids_lava/lava0_flow
19 {
20         qer_editorimage textures/liquids_lava/lava0.tga
21         surfaceparm lava
22         surfaceparm noimpact
23         surfaceparm trans
24         cull disable
25         q3map_surfacelight 1000
26         q3map_lightSubdivide 64
27         {
28                 map textures/liquids_lava/lava0.tga
29                 blendfunc GL_SRC_ALPHA GL_ONE
30                 tcMod scroll 0 -0.25
31         }
32 }
33
34 textures/liquids_lava/lava0_flow_pipe
35 {
36         qer_editorimage textures/liquids_lava/lava0.tga
37         surfaceparm lava
38         surfaceparm noimpact
39         surfaceparm trans
40         cull disable
41         deformVertexes wave 2 sin 1 2 0.25 0.1
42         q3map_surfacelight 1000
43         q3map_lightSubdivide 64
44         {
45                 map textures/liquids_lava/lava0.tga
46                 blendfunc GL_SRC_ALPHA GL_ONE
47                 tcMod scroll 0 -0.25
48         }
49 }
50
51 textures/liquids_lava/lava0_blue
52 {
53         qer_editorimage textures/liquids_lava/lava0_blue.tga
54         surfaceparm lava
55         surfaceparm noimpact
56         surfaceparm trans
57         cull disable
58         deformVertexes wave 150.0 sin 2 5 0.25 0.1
59         Q3map_TessSize 128
60         q3map_surfacelight 1000
61         q3map_lightSubdivide 64
62         {
63                 map textures/liquids_lava/lava0_blue.tga
64                 blendfunc GL_SRC_ALPHA GL_ONE
65         }
66 }
67
68 textures/liquids_lava/lava0_blue_flow
69 {
70         qer_editorimage textures/liquids_lava/lava0_blue.tga
71         surfaceparm lava
72         surfaceparm noimpact
73         surfaceparm trans
74         cull disable
75         q3map_surfacelight 1000
76         q3map_lightSubdivide 64
77         {
78                 map textures/liquids_lava/lava0_blue.tga
79                 blendfunc GL_SRC_ALPHA GL_ONE
80                 tcMod scroll 0 -0.25
81         }
82 }
83
84 textures/liquids_lava/lava0_blue_flow_pipe
85 {
86         qer_editorimage textures/liquids_lava/lava0_blue.tga
87         surfaceparm lava
88         surfaceparm noimpact
89         surfaceparm trans
90         cull disable
91         deformVertexes wave 2 sin 1 2 0.25 0.1
92         q3map_surfacelight 1000
93         q3map_lightSubdivide 64
94         {
95                 map textures/liquids_lava/lava0_blue.tga
96                 blendfunc GL_SRC_ALPHA GL_ONE
97                 tcMod scroll 0 -0.25
98         }
99 }
100
101 textures/liquids_lava/lava0_green
102 {
103         qer_editorimage textures/liquids_lava/lava0_green.tga
104         surfaceparm lava
105         surfaceparm noimpact
106         surfaceparm trans
107         cull disable
108         deformVertexes wave 150.0 sin 2 5 0.25 0.1
109         Q3map_TessSize 128
110         q3map_surfacelight 1000
111         q3map_lightSubdivide 64
112         {
113                 map textures/liquids_lava/lava0_green.tga
114                 blendfunc GL_SRC_ALPHA GL_ONE
115         }
116 }
117
118 textures/liquids_lava/lava0_green_flow
119 {
120         qer_editorimage textures/liquids_lava/lava0_green.tga
121         surfaceparm lava
122         surfaceparm noimpact
123         surfaceparm trans
124         cull disable
125         q3map_surfacelight 1000
126         q3map_lightSubdivide 64
127         {
128                 map textures/liquids_lava/lava0_green.tga
129                 blendfunc GL_SRC_ALPHA GL_ONE
130                 tcMod scroll 0 -0.25
131         }
132 }
133
134 textures/liquids_lava/lava0_green_flow_pipe
135 {
136         qer_editorimage textures/liquids_lava/lava0_green.tga
137         surfaceparm lava
138         surfaceparm noimpact
139         surfaceparm trans
140         cull disable
141         deformVertexes wave 2 sin 1 2 0.25 0.1
142         q3map_surfacelight 1000
143         q3map_lightSubdivide 64
144         {
145                 map textures/liquids_lava/lava0_green.tga
146                 blendfunc GL_SRC_ALPHA GL_ONE
147                 tcMod scroll 0 -0.25
148         }
149 }
150
151 textures/liquids_lava/lava0_purple
152 {
153         qer_editorimage textures/liquids_lava/lava0_purple.tga
154         surfaceparm lava
155         surfaceparm noimpact
156         surfaceparm trans
157         cull disable
158         deformVertexes wave 150.0 sin 2 5 0.25 0.1
159         Q3map_TessSize 128
160         q3map_surfacelight 1000
161         q3map_lightSubdivide 64
162         {
163                 map textures/liquids_lava/lava0_purple.tga
164                 blendfunc GL_SRC_ALPHA GL_ONE
165         }
166 }
167
168 textures/liquids_lava/lava0_purple_flow
169 {
170         qer_editorimage textures/liquids_lava/lava0_purple.tga
171         surfaceparm lava
172         surfaceparm noimpact
173         surfaceparm trans
174         cull disable
175         q3map_surfacelight 1000
176         q3map_lightSubdivide 64
177         {
178                 map textures/liquids_lava/lava0_purple.tga
179                 blendfunc GL_SRC_ALPHA GL_ONE
180                 tcMod scroll 0 -0.25
181         }
182 }
183
184 textures/liquids_lava/lava0_purple_flow_pipe
185 {
186         qer_editorimage textures/liquids_lava/lava0_purple.tga
187         surfaceparm lava
188         surfaceparm noimpact
189         surfaceparm trans
190         cull disable
191         deformVertexes wave 2 sin 1 2 0.25 0.1
192         q3map_surfacelight 1000
193         q3map_lightSubdivide 64
194         {
195                 map textures/liquids_lava/lava0_purple.tga
196                 blendfunc GL_SRC_ALPHA GL_ONE
197                 tcMod scroll 0 -0.25
198         }
199 }