]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/liquids_lava.shader
Delete the "cubemaps" folder, which was meant to be temporary but has been around...
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_lava.shader
index f2060c4f215ffd24a9e945f483b2d2abab4a5b28..60931cdc0bee58d3d2ce751fedb7ff456b095d49 100644 (file)
@@ -11,7 +11,7 @@ textures/liquids_lava/lava0
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -26,8 +26,174 @@ textures/liquids_lava/lava0_flow
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                tcMod scroll 0 -0.25
        }
 }
 
+textures/liquids_lava/lava0_flow_pipe
+{
+       qer_editorimage textures/liquids_lava/lava0.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 2 sin 1 2 0.25 0.1
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_blue
+{
+       qer_editorimage textures/liquids_lava/lava0_blue.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 150.0 sin 2 5 0.25 0.1
+       Q3map_TessSize 128
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_blue.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/liquids_lava/lava0_blue_flow
+{
+       qer_editorimage textures/liquids_lava/lava0_blue.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_blue.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_blue_flow_pipe
+{
+       qer_editorimage textures/liquids_lava/lava0_blue.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 2 sin 1 2 0.25 0.1
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_blue.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_green
+{
+       qer_editorimage textures/liquids_lava/lava0_green.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 150.0 sin 2 5 0.25 0.1
+       Q3map_TessSize 128
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_green.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/liquids_lava/lava0_green_flow
+{
+       qer_editorimage textures/liquids_lava/lava0_green.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_green.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_green_flow_pipe
+{
+       qer_editorimage textures/liquids_lava/lava0_green.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 2 sin 1 2 0.25 0.1
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_green.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_purple
+{
+       qer_editorimage textures/liquids_lava/lava0_purple.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 150.0 sin 2 5 0.25 0.1
+       Q3map_TessSize 128
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_purple.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/liquids_lava/lava0_purple_flow
+{
+       qer_editorimage textures/liquids_lava/lava0_purple.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_purple.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
+
+textures/liquids_lava/lava0_purple_flow_pipe
+{
+       qer_editorimage textures/liquids_lava/lava0_purple.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 2 sin 1 2 0.25 0.1
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
+       {
+               map textures/liquids_lava/lava0_purple.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               tcMod scroll 0 -0.25
+       }
+}
\ No newline at end of file