diff --git a/functions.lua b/functions.lua index 41a943b..1e46c45 100644 --- a/functions.lua +++ b/functions.lua @@ -463,6 +463,7 @@ function default.register_mesepost(name, def) }, paramtype = "light", tiles = {def.texture, def.texture, post_texture_dark, post_texture_dark, post_texture, post_texture}, + use_texture_alpha = "opaque", light_source = default.LIGHT_MAX, sunlight_propagates = true, is_ground_content = false, diff --git a/nodes.lua b/nodes.lua index a8fda53..4a9fab9 100644 --- a/nodes.lua +++ b/nodes.lua @@ -2213,7 +2213,7 @@ minetest.register_node("default:water_source", { }, }, }, - alpha = 191, + use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, @@ -2258,7 +2258,7 @@ minetest.register_node("default:water_flowing", { }, }, }, - alpha = 191, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "flowingliquid", walkable = false, @@ -2304,7 +2304,7 @@ minetest.register_node("default:river_water_source", { }, }, }, - alpha = 160, + use_texture_alpha = "blend", paramtype = "light", walkable = false, pointable = false, @@ -2354,7 +2354,7 @@ minetest.register_node("default:river_water_flowing", { }, }, }, - alpha = 160, + use_texture_alpha = "blend", paramtype = "light", paramtype2 = "flowingliquid", walkable = false, @@ -2578,6 +2578,7 @@ local function register_sign(material, desc, def) sunlight_propagates = true, is_ground_content = false, walkable = false, + use_texture_alpha = "opaque", node_box = { type = "wallmounted", wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125}, diff --git a/textures/default_river_water.png b/textures/default_river_water.png index 3b55c5f..be57575 100644 Binary files a/textures/default_river_water.png and b/textures/default_river_water.png differ diff --git a/textures/default_river_water_flowing_animated.png b/textures/default_river_water_flowing_animated.png index 536acc5..df5818b 100644 Binary files a/textures/default_river_water_flowing_animated.png and b/textures/default_river_water_flowing_animated.png differ diff --git a/textures/default_river_water_source_animated.png b/textures/default_river_water_source_animated.png index daa5653..560078e 100644 Binary files a/textures/default_river_water_source_animated.png and b/textures/default_river_water_source_animated.png differ diff --git a/textures/default_water.png b/textures/default_water.png index 00500e9..47253db 100644 Binary files a/textures/default_water.png and b/textures/default_water.png differ diff --git a/textures/default_water_flowing_animated.png b/textures/default_water_flowing_animated.png index 070d797..0dc0ef9 100644 Binary files a/textures/default_water_flowing_animated.png and b/textures/default_water_flowing_animated.png differ diff --git a/textures/default_water_source_animated.png b/textures/default_water_source_animated.png index 7e7f9ff..8041b03 100644 Binary files a/textures/default_water_source_animated.png and b/textures/default_water_source_animated.png differ diff --git a/torch.lua b/torch.lua index c06dee8..a19f531 100644 --- a/torch.lua +++ b/torch.lua @@ -29,6 +29,7 @@ minetest.register_node("default:torch", { name = "default_torch_on_floor_animated.png", animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3} }}, + use_texture_alpha = "clip", paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, @@ -81,6 +82,7 @@ minetest.register_node("default:torch_wall", { name = "default_torch_on_floor_animated.png", animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3} }}, + use_texture_alpha = "clip", paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true, @@ -105,6 +107,7 @@ minetest.register_node("default:torch_ceiling", { name = "default_torch_on_floor_animated.png", animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3} }}, + use_texture_alpha = "clip", paramtype = "light", paramtype2 = "wallmounted", sunlight_propagates = true,