]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_lightspeed.shader
lightspeed: use a cubemap reflection as fallback, instead of the current fixed image...
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_lightspeed.shader
index 60958e7a9dc43396c69013255dc5b03ec68b5253..48ec25eb54b8c9ec1402fcf35b3ab2312dc5a657 100644 (file)
@@ -37,8 +37,167 @@ textures/map_lightspeed/lightspeedscrn_t
 
 textures/map_lightspeed/lcd_compile
 {
-       qer_editorimage models/map_lightspeed/lcd_compile1.jpg
+       qer_editorimage models/map_lightspeed/lcd/lcd_compile1.jpg
                {
-               animMap 5 models/map_lightspeed/lcd_compile1.jpg models/map_lightspeed/lcd_compile2.jpg models/map_lightspeed/lcd_compile3.jpg models/map_lightspeed/lcd_compile4.jpg models/map_lightspeed/lcd_compile5.jpg models/map_lightspeed/lcd_compile5.jpg models/map_lightspeed/lcd_compile5.jpg models/map_lightspeed/lcd_compile5.jpg models/map_lightspeed/lcd_compile5.jpg models/map_lightspeed/lcd_compile5.jpg 
+               animMap 5 models/map_lightspeed/lcd/lcd_compile1.jpg models/map_lightspeed/lcd/lcd_compile2.jpg models/map_lightspeed/lcd/lcd_compile3.jpg models/map_lightspeed/lcd/lcd_compile4.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg 
        }
-}
\ No newline at end of file
+}
+
+textures/map_lightspeed/light_nonglow
+{
+       qer_editorimage textures/map_lightspeed/light/light_1.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 0.5
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/map_lightspeed/light/light_1.tga
+               
+
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+
+textures/map_lightspeed/vines
+{
+       qer_editorimage models/map_lightspeed/vines/vines01.tga
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm alphashadow
+       cull none
+       {
+               map models/map_lightspeed/vines/vines01.tga
+               alphaFunc GT0
+               rgbGen vertex
+       }
+}
+
+textures/map_lightspeed/env1
+{
+       qer_editorimage textures/map_lightspeed/env/env1.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/map_lightspeed/env/env1.tga
+               //tcMod turb 0 0.04 0 0.08
+               blendfunc add
+       }
+       dpreflectcube textures/map_lightspeed/env/env1_
+       dp_reflect 0  1 1 1 1
+}
+
+textures/map_lightspeed/env2
+{
+       qer_editorimage textures/map_lightspeed/env/env2.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/map_lightspeed/env/env2.tga
+               //tcMod turb 0 0.04 0 0.08
+               blendfunc add
+       }
+       dpreflectcube textures/map_lightspeed/env/env2_
+       dp_reflect 0  1 1 1 1
+}
+
+textures/map_lightspeed/env3
+{
+       qer_editorimage textures/map_lightspeed/env/env3.tga
+       qer_trans 20
+       surfaceparm nomarks
+       surfaceparm trans
+       surfaceparm water
+       surfaceparm nolightmap
+       cull none
+       q3map_globaltexture
+       {
+               map textures/map_lightspeed/env/env3.tga
+               //tcMod turb 0 0.04 0 0.08
+               blendfunc add
+       }
+       dpreflectcube textures/map_lightspeed/env/env3_
+       dp_reflect 0  1 1 1 1
+}
+
+//Lightning1-a
+textures/map_lightspeed/lightning1
+{
+       qer_editorimage textures/effects_lightning/lightning1/3.tga
+       surfaceparm nolightmap
+       surfaceparm nodlight
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       cull none
+       deformVertexes autosprite2
+       {
+       map textures/effects_lightning/lightning1/3.tga
+       blendfunc add
+       }
+}
+textures/map_lightspeed/lightning2
+{
+       qer_editorimage textures/effects_lightning/lightning1/4.tga
+       surfaceparm nolightmap
+       surfaceparm nodlight
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       cull none
+       deformVertexes autosprite2
+       {
+       map textures/effects_lightning/lightning1/4.tga
+       blendfunc add
+       }
+}
+
+textures/map_lightspeed/lightning3
+{
+       qer_editorimage textures/effects_lightning/lightning1/9.tga
+       surfaceparm nolightmap
+       surfaceparm nodlight
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       cull none
+       deformVertexes autosprite2
+       {
+       map textures/effects_lightning/lightning1/9.tga
+       blendfunc add
+       }
+}
+
+textures/map_lightspeed/lightning4
+{
+       qer_editorimage textures/effects_lightning/lightning1/10.tga
+       surfaceparm nolightmap
+       surfaceparm nodlight
+       surfaceparm trans
+       surfaceparm nomarks
+       surfaceparm noimpact
+       cull none
+       deformVertexes autosprite2
+       {
+       map textures/effects_lightning/lightning1/10.tga
+       blendfunc add
+       }
+}
+