X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fliquids_water.shader;h=baf700f0dd072a31f48b43319c3ae58cf54b0ec6;hp=8c10a56f5f34a2a4e9bcc6d8010544c715ef5a15;hb=5e98cee68427587f1107a6ef2e52020e022f9031;hpb=24a94491bacea032fe544203db2d3a1bfb589bb9 diff --git a/scripts/liquids_water.shader b/scripts/liquids_water.shader index 8c10a56f..baf700f0 100644 --- a/scripts/liquids_water.shader +++ b/scripts/liquids_water.shader @@ -16,7 +16,32 @@ textures/liquids_water/water0 tcmod scale 1.2 0.7 blendfunc blend } - dp_water 0.1 0.8 3 3 1 1 1 1 1 1 0.125 + dp_water 0.1 0.25 3 3 1 1 1 1 1 1 0.125 +} + +textures/liquids_water/water0_cubemap +{ + qer_trans 20 + surfaceparm nomarks + surfaceparm trans + surfaceparm water + surfaceparm nolightmap + cull none + q3map_globaltexture + tessSize 256 + qer_editorimage textures/liquids_water/water0c_reflect.tga + { + map textures/liquids_water/water0c.tga + tcMod turb 0 0.4 0 0.08 + blendfunc add + } + dpreflectcube cubemaps/default/sky + { + map $lightmap + blendfunc add + tcGen lightmap + } + dp_water 0.1 0.9 3 3 1 1 1 1 1 1 0.4 } textures/liquids_water/water1 @@ -35,7 +60,7 @@ textures/liquids_water/water1 tcmod scale 1.2 0.7 blendfunc blend } - dp_water 0.1 0.8 3 3 1 1 1 1 1 1 0.125 + dp_water 0.1 0.25 3 3 1 1 1 1 1 1 0.125 } textures/liquids_water/water2 @@ -54,7 +79,7 @@ textures/liquids_water/water2 tcmod scale 1.2 0.7 blendfunc blend } - dp_water 0.1 0.8 3 3 1 1 1 1 1 1 0.125 + dp_water 0.1 0.25 3 3 1 1 1 1 1 1 0.125 } textures/liquids_water/ruiner_water