X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fliquids_lava.shader;h=60931cdc0bee58d3d2ce751fedb7ff456b095d49;hb=627f44c641c186dc1a73d0da8ab84e0fc15bb59b;hp=6e448dd4898927e0bcb5854b2541b62c83287bb8;hpb=d476b70ee30690ba138ee285c553aefc1cf63208;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/liquids_lava.shader b/scripts/liquids_lava.shader index 6e448dd4..60931cdc 100644 --- a/scripts/liquids_lava.shader +++ b/scripts/liquids_lava.shader @@ -1,16 +1,199 @@ -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 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 - 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 2 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 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