From f40a64a17ed704ac8a8f54f48b1cb87210acb3bb Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 20 Feb 2021 15:34:57 +0100 Subject: [PATCH] Fix swamp water transparency --- sumpf/init.lua | 4 ++-- sumpf/textures/sumpf_water_flowing.png | Bin 736 -> 719 bytes sumpf/textures/sumpf_water_source.png | Bin 2952 -> 3026 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sumpf/init.lua b/sumpf/init.lua index 582c786..cd0c60f 100644 --- a/sumpf/init.lua +++ b/sumpf/init.lua @@ -189,7 +189,7 @@ minetest.register_node("sumpf:dirtywater_flowing", { {name="sumpf_water_flowing.png", backface_culling=false, animation=ani}, {name="sumpf_water_flowing.png", backface_culling=true, animation=ani} }, - alpha = 191, + use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, @@ -213,7 +213,7 @@ minetest.register_node("sumpf:dirtywater_source", { {name="sumpf_water_flowing.png", animation=ani} }, special_tiles = {{name="sumpf_water_source.png", animation=ani, backface_culling=false},}, - alpha = 191, + use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, diff --git a/sumpf/textures/sumpf_water_flowing.png b/sumpf/textures/sumpf_water_flowing.png index 818e156f4f7bd6fddd25986efc5223c685fa252c..3e65e63589c3da5aefba88a9867adcaa5ccbe2b2 100644 GIT binary patch literal 719 zcmeAS@N?(olHy`uVBq!ia0vp^0t^g{0vv2W*3OnMR~ZsHN zsgvHF-!OG&vemQl@2lsoxsxxyOJ|*~_onO|bI&PPh0L3eq$*eS?{+-2T)Z<(^?lh5 zud2UlFJE4M`)-^1J>RNd8r$S;9omB#U->OcJtkbfulV=srU!dIIBvYhSnyM)?4Hog zv(@ndTj%*&XU+M4_ghEP`lRdD8z1}Kd8hNPKr~rh zeiU|7Y5#n|+g%6c)l?RoR7lB4torxJls~&-VsP6lzbT@QY)vzFWT@6e8fh|anq4-_ zqiPEKg&i);3`*yM^QXW&Y3JW{uivksD0#g@_GHhd zXLD6f^v;%Ja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