From 9bb4222aa565c80cc438ca87d3d843ad5456e6c7 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 16 Jun 2017 16:01:22 -0400 Subject: [PATCH] use soft overlays to re-create the subtle white glow that glowlights used to have before param2 coloring went in. --- homedecor/lighting.lua | 27 ++++++++++++++++++ .../homedecor_glowlight_cube_sides.png | Bin 137 -> 93 bytes ...homedecor_glowlight_cube_sides_ceiling.png | Bin 139 -> 0 bytes ...homedecor_glowlight_cube_sides_overlay.png | Bin 0 -> 208 bytes .../textures/homedecor_glowlight_cube_tb.png | Bin 142 -> 94 bytes .../homedecor_glowlight_cube_tb_overlay.png | Bin 0 -> 209 bytes .../homedecor_glowlight_thick_sides.png | Bin 173 -> 95 bytes ...omedecor_glowlight_thick_sides_overlay.png | Bin 0 -> 317 bytes .../homedecor_glowlight_thin_sides.png | Bin 137 -> 96 bytes ...homedecor_glowlight_thin_sides_overlay.png | Bin 0 -> 189 bytes .../textures/homedecor_glowlight_top.png | Bin 165 -> 93 bytes .../homedecor_glowlight_top_overlay.png | Bin 0 -> 417 bytes 12 files changed, 27 insertions(+) delete mode 100644 homedecor/textures/homedecor_glowlight_cube_sides_ceiling.png create mode 100644 homedecor/textures/homedecor_glowlight_cube_sides_overlay.png create mode 100644 homedecor/textures/homedecor_glowlight_cube_tb_overlay.png create mode 100644 homedecor/textures/homedecor_glowlight_thick_sides_overlay.png create mode 100644 homedecor/textures/homedecor_glowlight_thin_sides_overlay.png create mode 100644 homedecor/textures/homedecor_glowlight_top_overlay.png diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index b40fc7cf..bb161f0b 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 06182d059c4270d5f5fcc15e93ccc9195aad801c..31ba821b44bfa32e2e1581c33ad90e4e6f115cd5 100644 GIT binary patch delta 75 zcmeBVjGZ9i%E-*Xz@TcIs|2Lj0(?ST@7=ri^XJcF;*$k|B0`=njv*Y^lYji5+D dK))y>!$KqRmsy7r?*e5RJYD@<);T3K0RW6D8PNa$ delta 119 zcma#;WSk&T$iV;vRx=jt1yTW?E{-7*myez~$lKt+;c}7RG3VgF>dl?85jLF{+2%Yx z{lxp@yieQ`2VSPFkvY!$E^p0Go1ELCOLi?>*6>nY>rz0Z!@9hbp58eZ4I&+nGVEaZ WyIN9>!Tpv7$PQ0eKbLh*2~7Zs@G?FC 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 0f2fb3df9f931b45a736b642ade060ce65b32697..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 139 zcmeAS@N?(olHy`uVBq!ia0vp^0wBx*Bp9q_EZ7UAf;?RuLnJQmJ#$d-uz~=~LAwJ- z9{f2R%u&F!zelw3`^`}6jfG#ujGjyLR@H|Ve`viXU3)iRL5NE)bG5bh1|jY1nP+ae mp0hEy+}rLo80eooL8?$UvZVe@FJC z2Pr_ zIjSe5D%b3JIk%pX=Rja}v}3$gG<%1~mwSuZXV)fsY3hBq?_R0NeEVp!8_zopr0013TLjV8( literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_glowlight_cube_tb.png b/homedecor/textures/homedecor_glowlight_cube_tb.png index d5f0615d51eb2141b5c5a15493a8edee4c06f2fa..c415202c832ead9a82b5a72f01b2a3a31404f3b2 100644 GIT binary patch delta 76 zcmeBUjGG|g#>mXTz@TcIs|2Lj0(?ST@7=ri^XJcF;*$k|BEp_7jv*Y^lYji5&)8@8 dA=%v{i@|Y{_{)ahA6C?<}K}qj1@ZW;*;N$gTe~DWM4fU4Ai0 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 0000000000000000000000000000000000000000..c5b9d9e7e78af8db19f04ccdd698db28e2506d5f GIT binary patch literal 209 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Gdx`!Lo80eon**;$UvZVe@FJC z2PDX=`p-sRd?ItDkJ+^selIc526pY=xoUTVVwIfHc8v@ z+KJ?+zTf|FCop`g+9vvC;oek-o{i#yC5fBUeKfzmKL7s;w~4wYb9tyh2+)lTp00i_ I>zopr0P%NJi~s-t literal 0 HcmV?d00001 diff --git a/homedecor/textures/homedecor_glowlight_thick_sides.png b/homedecor/textures/homedecor_glowlight_thick_sides.png index 81a9518478bbe61f78576ad5091f649764150122..bae01085c90a1a9c6198da1fb1e731cfe32d8c23 100644 GIT binary patch delta 77 zcmZ3>7(YS6ospS=fkD+aR|!b51^9%x-n)12=g*(V#3u^^MMOMZ978y+C;#|Ae_^Ab fEF)`S2Qx$POg`4_Q&N5dFVdQ I&MBb@08#}%H~;_u 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 0000000000000000000000000000000000000000..f22551cfad7f57f77e026f76cad9c3b7ec52de4f GIT binary patch literal 317 zcmV-D0mA-?P)>(nz*EJG<*y!!MTu2q8R} z**$Oz^gsu+fEVWiOuz`7fn$tu@ZLXf0L<(TSQ9WM3cxIZEzp=5z>ffM0QM5N26jLL zr2C5mQdQ`j2|aM5;2yXVd7~C)!50;Ml>(ixEB0-1-{=ie@FY$qv_d1am4Fqkl=uH& zIe=wZ9%bXcaG|YSn1B!99XJ7lbM7e-CSfiB5G#SiN&B2(1U{9)7cXDWLE?-;CYt!nV^$>R6orz)z7$|jou-NWGN>gTe~DWM4f#w|UTR3(j%J)9o#4lNh3(L~{3OYR+x}#5TxH_AoArk| z`K^`UbpC&~8=OiWdv5Y=u>m>2)78&qol`;+0M6Ju A0ssI2 diff --git a/homedecor/textures/homedecor_glowlight_top_overlay.png b/homedecor/textures/homedecor_glowlight_top_overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..ec27d4a9a719615eb4783784a30f0f4bc312757c GIT binary patch literal 417 zcmV;S0bc%zP)|6-FXjh&6{8XufXxf7{TNi1OajL!p_ta z031zV19U~C9b*hRXF^KpHiU2u+?c?iA%F?&O`ryzfrpgSgN6`>z!11F3|tB=6F3+; zF0F$Ec~^5dHx#?;$N_k_2-HRN25i-S>lwV=X*hU$SNLk7b_}QP>{B?p{Rdx7`NYTt z>h`kK-Iq5Ndkp+@sWr*b3RQ4)Vbi$#!BHzn!QRkvANax*&bO`Bo*Q6mwz^-n(MVgz z-vF;_oz*o+quMPewm0V&^QnPabI#8pgf`FyvKt)V${%hPUaXauDW#Pz7K^7CBO+2- z_U)Hh@B%fkN+~^7RkhUV-E<8QW6UCQusr`9=bZDZs_vKb`F#Be4(Xh##Ds7y00000 LNkvXXu0mjf!;H6f literal 0 HcmV?d00001