From 8f2090d3d3f01c76f232b3a87089b84a9f758b46 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 27 Apr 2013 06:48:20 -0400 Subject: [PATCH] Added experimental alpha support to fancy door, disabled by default. To enable, uncomment "use_texture_alpha" on lines 72 and 99 of doors_and_gates.lua, and make sure that if you are using a texture pack, that it has support for alpha on these doors. (HDX does, as do the default textures). Note that alpha support is glitchy - without shaders it will not work at all, and the doors' nodeboxes will be screwed up. With shaders, it mostly works, but the whole door is slightly translucent where it should not be. --- doors_and_gates.lua | 2 ++ ...omedecor_door_exterior_fancy_left_bottom.png | Bin 706 -> 714 bytes .../homedecor_door_exterior_fancy_left_top.png | Bin 736 -> 755 bytes ...medecor_door_exterior_fancy_right_bottom.png | Bin 706 -> 714 bytes .../homedecor_door_exterior_fancy_right_top.png | Bin 740 -> 753 bytes 5 files changed, 2 insertions(+) diff --git a/doors_and_gates.lua b/doors_and_gates.lua index 04aff75..8163dd3 100644 --- a/doors_and_gates.lua +++ b/doors_and_gates.lua @@ -69,6 +69,7 @@ for i in ipairs(sides) do groups = {snappy=3, not_in_creative_inventory=1}, sounds = default.node_sound_wood_defaults(), walkable = true, +-- use_texture_alpha = true, selection_box = selectboxes_top, node_box = { type = "fixed", @@ -95,6 +96,7 @@ for i in ipairs(sides) do groups = {snappy=3}, sounds = default.node_sound_wood_defaults(), walkable = true, +-- use_texture_alpha = true, selection_box = selectboxes_bottom, node_box = { type = "fixed", diff --git a/textures/homedecor_door_exterior_fancy_left_bottom.png b/textures/homedecor_door_exterior_fancy_left_bottom.png index b643c598ef5852b365ad692870a615ea575d761b..868ca342441f547777e1c397f628bbd102ef5308 100644 GIT binary patch delta 624 zcmV-$0+0Q|18wxHkFr{x<0007MNklYN|5J1n&o%{a#wtxOf&gDW`tzF!Sh$Ium1Su=MUa)8}j|vk8{Yxez&8VPWn`>;`VRb@PNC{GAJV8n&B59+ut(`1}xo~ERHHQ(M z9SiS&_%Wt})_ zQWSb%rBq4|T$CQ*R+#4#YWTx(Es&0Bpxv0J4yj0vhis9=ZBJFj(y>Uqt*98)3iDLi z&oidNyfYFdVvu%1dSY`ej4@dCgt+^MA`&upWI~HX&7i=vH&h0=unr-sa&ugnPT)VthjG+jLKY?f0000< KMNUMnLSTZQge2eq delta 602 zcmV-g0;T=R1;Pc8KY!c`1P3b)_*s*n<-%y@#7N<`8|XInd240GYq6l)G6Iy)9VeDpD< zg4UVTO0kNSf`3Qgk@#qwPPhF2+pkbAnF`p$oN2ihq(oQXNKL*~`YJAVr}ER!XJh zz(wf+ZiRV1P{SXNYk_o31MS8%bx1{WJY50v?Fveij19ATkr~9`|#c)6ZHcupi5XF6PJa@Kwfvg=h#nK%wd!~!`D0N4P zjcym@7?VQ+5*Bw@qhhMuEh}}|7?Kn=T$B&y34r6xlWPJiG?yU4#eO0ZGIwM`i$u+! oz_d412Dq>eA**tGTA2>;9|=Nm)C^-eQ2+n{07*qoM6N<$f`GFWJ^%m! diff --git a/textures/homedecor_door_exterior_fancy_left_top.png b/textures/homedecor_door_exterior_fancy_left_top.png index d30b4fb6c3d22cfee52246af23bb9614c3c1c7c5..d98884658aa49c84cba5f1c5f64b2a741ac23c15 100644 GIT binary patch delta 704 zcmV;x0zduW1@i@vKY!f>8wxHm-m4CE0007#Nkl4L35kdjWEd3-gGErmXl;M(f)nP= zyZ79C&bGKiz|Ph0y}z~AmdnpSVW`JDLBtRgQN;o0W2GXj3xD(ls#R(=5MiuFHBb@A zrT_?vQo3jT)FV1y?WspJ2*UQ`JcLd=WcuTrRVJO3s0H6 z_2SdE9+e;e{7ViFkJ=m8_M0!h`Jr{{NYN96Cx%Gyj@Mt=ZEoMW+g`f3+w8sktaV*R zt9qgj0Nl8?-+vq&9<|r^t~87pwSrec>-e8x0Ch@n9^IKG9$lRS;L}@QPXtHbw=qQ) z=TDPPhrHi}G&%fPk0YX|3oX2l1cj$%@fZ5iP&%gSv#f*>=&N-a-1g|K@ zFTelMh8O`*6GBXQ7Xry80LnN}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