diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index b40fc7c..bb161f0 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -21,6 +21,15 @@ minetest.register_node("homedecor:glowlight_half", { "homedecor_glowlight_thick_sides.png", "homedecor_glowlight_thick_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -52,6 +61,15 @@ minetest.register_node("homedecor:glowlight_quarter", { "homedecor_glowlight_thin_sides.png", "homedecor_glowlight_thin_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -83,6 +101,15 @@ minetest.register_node("homedecor:glowlight_small_cube", { "homedecor_glowlight_cube_sides.png", "homedecor_glowlight_cube_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, paramtype = "light", paramtype2 = "colorwallmounted", drawtype = "nodebox", diff --git a/homedecor/textures/homedecor_glowlight_cube_sides.png b/homedecor/textures/homedecor_glowlight_cube_sides.png index 06182d0..31ba821 100644 Binary files a/homedecor/textures/homedecor_glowlight_cube_sides.png and b/homedecor/textures/homedecor_glowlight_cube_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png b/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png deleted file mode 100644 index 0f2fb3d..0000000 Binary files a/homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png and /dev/null differ diff --git a/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png b/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png new file mode 100644 index 0000000..4db5867 Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_cube_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_tb.png b/homedecor/textures/homedecor_glowlight_cube_tb.png index d5f0615..c415202 100644 Binary files a/homedecor/textures/homedecor_glowlight_cube_tb.png and b/homedecor/textures/homedecor_glowlight_cube_tb.png differ diff --git a/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png b/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png new file mode 100644 index 0000000..c5b9d9e Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_cube_tb_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_thick_sides.png b/homedecor/textures/homedecor_glowlight_thick_sides.png index 81a9518..bae0108 100644 Binary files a/homedecor/textures/homedecor_glowlight_thick_sides.png and b/homedecor/textures/homedecor_glowlight_thick_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png b/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png new file mode 100644 index 0000000..f22551c Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_thick_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_thin_sides.png b/homedecor/textures/homedecor_glowlight_thin_sides.png index 8c1dd69..51832b5 100644 Binary files a/homedecor/textures/homedecor_glowlight_thin_sides.png and b/homedecor/textures/homedecor_glowlight_thin_sides.png differ diff --git a/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png b/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png new file mode 100644 index 0000000..8fedb2c Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_thin_sides_overlay.png differ diff --git a/homedecor/textures/homedecor_glowlight_top.png b/homedecor/textures/homedecor_glowlight_top.png index 3a06edb..70518e7 100644 Binary files a/homedecor/textures/homedecor_glowlight_top.png and b/homedecor/textures/homedecor_glowlight_top.png differ diff --git a/homedecor/textures/homedecor_glowlight_top_overlay.png b/homedecor/textures/homedecor_glowlight_top_overlay.png new file mode 100644 index 0000000..ec27d4a Binary files /dev/null and b/homedecor/textures/homedecor_glowlight_top_overlay.png differ