X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fliquids_lava.shader;h=036be232c1199910ac060d624cb3490f23c87539;hp=e28e7065ae628e5f435998eb0095fa8a7498c574;hb=bc2a36ab64ba727957d42e5776c17c9fb85d42ed;hpb=937e74a83a61c471a43a72c0a3efe48e943091fd diff --git a/scripts/liquids_lava.shader b/scripts/liquids_lava.shader index e28e7065..036be232 100644 --- a/scripts/liquids_lava.shader +++ b/scripts/liquids_lava.shader @@ -8,9 +8,10 @@ textures/liquids_lava/lava0 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 add + blendfunc GL_SRC_ALPHA GL_ONE } } @@ -22,9 +23,109 @@ textures/liquids_lava/lava0_flow surfaceparm trans cull disable q3map_surfacelight 1000 + 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_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_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_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 } }