{"id":7714,"date":"2023-10-04T09:51:37","date_gmt":"2023-10-04T08:51:37","guid":{"rendered":"https:\/\/www.katsbits.com\/codex\/?p=7714"},"modified":"2023-10-04T09:51:37","modified_gmt":"2023-10-04T08:51:37","slug":"paint-minecraft-leaves","status":"publish","type":"post","link":"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/","title":{"rendered":"Paint Minecraft Leaves, with Transparency, in Blender"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2870ba27ea6\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2870ba27ea6\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/#description\" >Description<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/#material-setup\" >Material Setup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/#alpha-visbility\" >Alpha Visbility<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/#tiling\" >Tiling<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.katsbits.com\/codex\/paint-minecraft-leaves\/#timestamps\" >Timestamps<\/a><\/li><\/ul><\/nav><\/div>\n<div style=\"background-color: black; position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; overflow: hidden; max-width: 100%;\"><center><iframe style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" src=\"https:\/\/rumble.com\/embed\/v3k36q7\/?pub=d3lcu\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/center><\/div>\n<h3><span class=\"ez-toc-section\" id=\"description\"><\/span>Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In this exercise we take a look at painting a Minecraft style &#8216;leaf&#8217; texture, with transparency, using <b>Texture Paint<\/b>. First, with the default Cube object selected, the pre-assigned material is renamed appropriately. A generated <b>16 x 16 pixel image<\/b> is then assigned in <b>Shading<\/b> Workspace and the cube fully UV unwrapped so each face maps 1:1 with the image. Switching to <b>Texture Paint<\/b> Workspace, using the colour-picker and setting the brush <b>Radius<\/b> to <b>1 px<\/b>, colour is painted to the image. Finally the <b>Blending Mode<\/b> is set to <b>Erase Alpha<\/b> to mask out or remove certain pixels resulting in a &#8216;leafy&#8217; alpha-masked image ready for use.<\/p>\n<p><b>Duration<\/b>: total c. 10 mins (00:10:00).<br \/>\n<b>Info<\/b>: 1080p.<br \/>\n<b>Suitability<\/b>: Beginner+.<br \/>\n<b>Source<\/b>: <a href=\"https:\/\/www.katsbits.com\/files\/minecraft\/katsbits_paint-minecraft-leaves.zip\">KatsBits \u2013 Paint Minecraft Leaves<\/a> (c. 150 KB, *.blend, *.png).<br \/>\n<b>Product ID<\/b>: n\/a.<\/p>\n<blockquote><p><b>Design note<\/b>: some additional points to consider when using Texture Paint to paint pixelart or Minecraft style images;<\/p>\n<h4><span class=\"ez-toc-section\" id=\"material-setup\"><\/span>Material Setup<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>if a <a href=\"https:\/\/www.katsbits.com\/codex\/material-basics\/\">material is not assigned<\/a> to the Cube or shape being used as the basis for previewing the resulting image, in <b>Material Properties<\/b> click the <b>+<\/b> button [1] to the right of the aperture or click the <b>New<\/b> button.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-new-material.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-new-material.jpg\" alt=\"New Material\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>If the preview object doesn&#8217;t have a material, assign one. Clicking to <b>+<\/b> [1] creates an unpopulated entry which then needs to be populated clicking <b>New<\/b>. Or just click <b>New<\/b> [2] to creates a populated material.<\/i><\/p>\n<h4><span class=\"ez-toc-section\" id=\"alpha-visbility\"><\/span>Alpha Visbility<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>When painting alpha to to an image ensure the materials <a href=\"https:\/\/www.katsbits.com\/codex\/transparency\/\">Blend Mode<\/a> is set appropriately in <b>Material Properties<\/b> for transparency to actually appear and be rendered in the Viewport. Scroll down the panel and set, for Minecraft, the <b>Blend Mode<\/b> to <b>Alpha Clip<\/b> [3] so individual pixels are removed cleanly and clearly &#8211; <i>the material blender mode has not affect on the texture editor as transparency is &#8216;on&#8217; by default.<\/i>.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-alpha-clip.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-alpha-clip.jpg\" alt=\"Alpha Clip material\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Although pixels might be painted out when using Erase Alpha, they&#8217;ll appear as black pixels in the 3D Viewport unless the materials Blend Mode is set to Alpha Clip [3].<\/i><\/p>\n<h4><span class=\"ez-toc-section\" id=\"tiling\"><\/span>Tiling<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Although Minecraft textures are only 16 x 16 pixel images they are still prone to tiling artefacts, that is patterns or colours that can be seen to clearly repeat over larger surfaces or structures. To help address this, in the <b>Texture Paint<\/b> editor, open the <b>Sidebar<\/b> &#8211; <b><i>View \u00bb Sidebar<\/i><\/b> (alternatively press <span class=\"shortcutkey\">N<\/span>) and access the <b>View<\/b> tab [4]. Here, enable <b>Repeat Image<\/b> [5] by clicking the checkbox. The image being painted [6] will then repeat infinitely across the editors workspace, updating as corrections are made.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-tiling.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 98.5%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/minecraft\/texture-paint-minecraft-tiling.jpg\" alt=\"Tile Image\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>In the <b>Texture Paint<\/b> editor, access the <b>Sidebar<\/b> and in the <b>View<\/b> [4] tab activate <b>Repeat Image<\/b> [5] so the image being painted [6] tiles across the workspace, revealing any artefacts of repetition.<\/i>\n<\/p><\/blockquote>\n<h3><span class=\"ez-toc-section\" id=\"timestamps\"><\/span>Timestamps<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Times are approximate;<br \/>\n &#8211; 00:00 : Overview &#038; Material Set up.<br \/>\n &#8211; 02:00 : UV Unwrapping &#038; Mapping.<br \/>\n &#8211; 03:00 : Texture Paint.<br \/>\n &#8211; 05:30 : Alpha Paint.<br \/>\n &#8211; 07:30 : Save Image.<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":7715,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,967,32,230],"tags":[458,453,965,785,1014,1021,963,1019,220],"class_list":["post-7714","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blender","category-minecraft-2","category-texturing","category-tutorials","tag-alpha-clip","tag-alpha-transparency","tag-erase-alpha","tag-minecraft","tag-pixel-art","tag-texture","tag-texture-paint","tag-tiling","tag-transparency"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/7714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/comments?post=7714"}],"version-history":[{"count":11,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/7714\/revisions"}],"predecessor-version":[{"id":7727,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/7714\/revisions\/7727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media\/7715"}],"wp:attachment":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media?parent=7714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/categories?post=7714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/tags?post=7714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}