]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/liquids_lava.shader
Merge branch 'cbrutail/newshader_pipelava' into cbrutail/darkzone
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_lava.shader
index 6e448dd4898927e0bcb5854b2541b62c83287bb8..3bb6a6c0699d7e912f810ce69e977cb7e0bc4fc2 100644 (file)
-textures/liquids_lava/protolava
+textures/liquids_lava/lava0
 {
-       qer_editorimage textures/liquids_lava/protolava.jpg
-       qer_trans 0.5
+       qer_editorimage textures/liquids_lava/lava0.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.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/liquids_lava/lava0_flow
+{
+       qer_editorimage textures/liquids_lava/lava0.tga
+       surfaceparm lava
+       surfaceparm noimpact
        surfaceparm trans
-       surfaceparm nonsolid
+       cull disable
+       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_flow_pipe
+{
+       qer_editorimage textures/liquids_lava/lava0.tga
+       surfaceparm lava
+       surfaceparm noimpact
+       surfaceparm trans
+       cull disable
+       deformVertexes wave 4 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
-       cull none
+       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 4 sin 1 2 0.25 0.1
+       q3map_surfacelight 1000
+       q3map_lightSubdivide 64
        {
-               map textures/liquids_lava/protolava.jpg
-               blendFunc add
-               rgbGen identity
+               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 4 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 4 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