aaghrrr .shader file too
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_fuse.shader
1 //TELEPORTER 
2
3 textures/map_fuse/fuse_teleporter_beam
4 {
5         surfaceparm nonsolid
6         surfaceparm nomarks
7         cull none
8         q3map_surfacelight 500
9         {
10                 map textures/map_fuse/fuse_teleporter_beam.tga
11                 blendfunc GL_SRC_ALPHA GL_ONE
12         }
13         {
14                 map textures/map_fuse/fuse_teleporter_numbers_01.tga
15                 blendfunc GL_SRC_ALPHA GL_ONE
16                 tcmod scroll 0 0.7
17         }
18         {
19                 map textures/map_fuse/fuse_teleporter_numbers_02.tga
20                 blendfunc GL_SRC_ALPHA GL_ONE
21                 tcmod scroll 0 0.9
22         }
23 }
24
25 //PIPE LIQUID
26
27 textures/map_fuse/lava0_blue_flow_pipe
28 {
29         qer_editorimage textures/liquids_lava/lava0_blue.tga
30         surfaceparm lava
31         surfaceparm noimpact
32         surfaceparm trans
33         cull disable
34         //deformVertexes wave 2 sin 1 2 0.25 0.1
35         q3map_surfacelight 400
36         q3map_lightSubdivide 64
37         {
38                 map textures/liquids_lava/lava0_blue.tga
39                 blendfunc GL_SRC_ALPHA GL_ONE
40                 tcMod scroll 0 -0.25
41         }
42 }
43
44 textures/map_fuse/lava0_blue_flow_pipe_100
45 {
46         qer_editorimage textures/liquids_lava/lava0_blue.tga
47         surfaceparm lava
48         surfaceparm noimpact
49         surfaceparm trans
50         cull disable
51         //deformVertexes wave 2 sin 1 2 0.25 0.1
52         q3map_surfacelight 100
53         q3map_lightSubdivide 64
54         {
55                 map textures/liquids_lava/lava0_blue.tga
56                 blendfunc GL_SRC_ALPHA GL_ONE
57                 tcMod scroll 0 -0.25
58         }
59 }
60
61 textures/map_fuse/lava0_flow_pipe_100
62 {
63         qer_editorimage textures/liquids_lava/lava0.tga
64         surfaceparm lava
65         surfaceparm noimpact
66         surfaceparm trans
67         cull disable
68         //deformVertexes wave 2 sin 1 2 0.25 0.1
69         q3map_surfacelight 100
70         q3map_lightSubdivide 64
71         {
72                 map textures/liquids_lava/lava0.tga
73                 blendfunc GL_SRC_ALPHA GL_ONE
74                 tcMod scroll 0 -0.25
75         }
76 }
77
78 //SKY 
79
80 textures/map_fuse/fuse_heaven
81 {
82         qer_editorimage textures/map_fuse/fuse_heaven.tga
83         
84         surfaceparm noimpact
85         surfaceparm nolightmap
86         surfaceparm nomarks
87         surfaceparm sky
88         
89         //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
90         q3map_sun .3803921568627451 .7176470588235294 .9607843137254902 250 270 10
91         q3map_skylight 200 4
92         skyparms textures/map_fuse/env/fuse_heaven - -
93 }
94
95 textures/map_fuse/heaven
96 {
97         qer_editorimage textures/skies/heaven.tga
98         
99         surfaceparm noimpact
100         surfaceparm nolightmap
101         surfaceparm nomarks
102         surfaceparm sky
103         
104         //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
105         q3map_sun .9607843137254902 .7176470588235294 .3803921568627451 250 270 10
106         q3map_skylight 200 4
107         skyparms env/heaven/heaven - -
108 }
109
110 //BIRD
111
112 textures/map_fuse/fuse_bird
113 {
114         qer_editorimage textures/map_fuse/fuse_bird.tga
115         surfaceparm lava
116         surfaceparm noimpact
117         surfaceparm trans
118         cull disable
119         nopicmip
120         {
121                 map textures/map_fuse/fuse_bird.tga
122                 blendFunc filter
123                 alphaFunc GT0
124                 rgbgen identity
125         }
126 }
127
128 //WIRES NONSOLID
129
130 textures/map_fuse/floor-simplines
131 {
132         qer_editorimage textures/exx/floor/floor_simplines.tga
133         q3map_bounceScale  0.75
134         dpoffsetmapping - 1 match8 244
135         dpglossintensitymod  3
136         dpglossexponentmod  4
137         surfaceparm nonsolid
138         {
139                 map textures/exx/floor/floor_simplines.tga
140         }
141         {
142                 map $lightmap
143                 rgbGen identity
144                 tcGen lightmap
145                 blendfunc filter
146         }
147 }
148
149 //AD BOARD SCANLINES
150
151 textures/map_fuse/fuse_scanlines
152 {
153         qer_editorimage textures/map_fuse/fuse_scanlines.tga
154         surfaceparm noimpact
155         surfaceparm trans
156         cull disable
157         surfaceparm nonsolid
158         qer_trans 0.25
159         {
160                 map textures/map_fuse/fuse_scanlines.tga
161                 blendfunc GL_SRC_ALPHA GL_ONE
162                 tcMod scroll 0 -0.75
163         }
164 }
165
166 //AD BOARDS
167
168 textures/map_fuse/ad_msg
169 {
170       surfaceparm nomarks 
171       qer_editorimage textures/map_fuse/ad_msg.tga 
172       nopicmip 
173    {
174       map textures/map_fuse/ad_msg.tga 
175    }
176 }
177
178 textures/map_fuse/ad_xonotic
179 {
180       surfaceparm nomarks 
181       qer_editorimage textures/map_fuse/ad_xonotic.tga 
182       nopicmip 
183    {
184       map textures/map_fuse/ad_xonotic.tga 
185    }
186 }
187