use soft overlays to re-create the subtle white glow that glowlights used to have
before param2 coloring went in.
|
@ -21,6 +21,15 @@ minetest.register_node("homedecor:glowlight_half", {
|
||||||
"homedecor_glowlight_thick_sides.png",
|
"homedecor_glowlight_thick_sides.png",
|
||||||
"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",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
|
@ -52,6 +61,15 @@ minetest.register_node("homedecor:glowlight_quarter", {
|
||||||
"homedecor_glowlight_thin_sides.png",
|
"homedecor_glowlight_thin_sides.png",
|
||||||
"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",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
|
@ -83,6 +101,15 @@ minetest.register_node("homedecor:glowlight_small_cube", {
|
||||||
"homedecor_glowlight_cube_sides.png",
|
"homedecor_glowlight_cube_sides.png",
|
||||||
"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",
|
paramtype = "light",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
|
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 93 B |
Before Width: | Height: | Size: 139 B |
BIN
homedecor/textures/homedecor_glowlight_cube_sides_overlay.png
Normal file
After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 142 B After Width: | Height: | Size: 94 B |
BIN
homedecor/textures/homedecor_glowlight_cube_tb_overlay.png
Normal file
After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 95 B |
BIN
homedecor/textures/homedecor_glowlight_thick_sides_overlay.png
Normal file
After Width: | Height: | Size: 317 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 96 B |
BIN
homedecor/textures/homedecor_glowlight_thin_sides_overlay.png
Normal file
After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 93 B |
BIN
homedecor/textures/homedecor_glowlight_top_overlay.png
Normal file
After Width: | Height: | Size: 417 B |