{"id":9281,"date":"2024-08-23T15:03:04","date_gmt":"2024-08-23T14:03:04","guid":{"rendered":"https:\/\/www.katsbits.com\/codex\/?p=9281"},"modified":"2024-09-21T10:01:31","modified_gmt":"2024-09-21T09:01:31","slug":"shading-artefacts","status":"publish","type":"post","link":"https:\/\/www.katsbits.com\/codex\/shading-artefacts\/","title":{"rendered":"Shading Artefacts\/Corruption on Mesh"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 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-6a017f0a6f91f\" 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-6a017f0a6f91f\"  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\/shading-artefacts\/#description\" >Description<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.katsbits.com\/codex\/shading-artefacts\/#solution\" >Solution<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"description\"><\/span>Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the course of editing a mesh in Blender, surfaces may appear to be incorrectly shaded [1] making it difficult to determine an objects structure [2], even with <a href=\"https:\/\/www.katsbits.com\/codex\/wireframe\/\">wireframe overlay<\/a> visible and\/or Sharp edges\/Edge Split being enabled. Meshes often appear to be inverted or somehow corrupted even though, on inspection, it appears that are no <a href=\"https:\/\/www.katsbits.com\/codex\/manifold\/\">non-manifold<\/a> or loose floating vertices, edges or faces or other structural issues causing the object to shade poorly in Material Preview or Rendered display modes (with or without lighting).<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-artefacts.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-artefacts.jpg\" alt=\"Mesh Artefacts\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Shading artefacts [1] on a mesh making it difficult to discern structure [2], which also seemingly ignores Sharp edges.<\/i><\/p>\n<h3><span class=\"ez-toc-section\" id=\"solution\"><\/span>Solution<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Assuming there aren&#8217;t any physical issues with the mesh, no non-manifold, internal or other errant structures hidden inside the mesh, the problem is likely due to &#8216;bad&#8217; vertex normal data being present on the mesh &#8211; vertex normals that are effectively pointing in the wrong direction. To remove or reset this data, with mesh selected, in <strong>Object Data Properties<\/strong> [3], expend <strong>Geometry Data<\/strong> [4] and then simply click the <strong>Clear Custom Split Normals Data<\/strong> button [5] bottom of the section. The mesh should reset in the 3D Viewport showing vertex normals correctly relative to the object as it is in its raw form with smoothing based on whether or not edges have been marked Sharp or <a href=\"https:\/\/www.katsbits.com\/codex\/smoothing\/\">split by angle<\/a>.<\/p>\n<p><a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-clear-normals.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-clear-normals.jpg\" alt=\"Clear Custom Split Normals Data\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<a href=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-reset-normals.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; height: auto;\" src=\"https:\/\/www.katsbits.com\/images\/tutorials\/smoothing\/mesh-shading-reset-normals.jpg\" alt=\"Reset Mesh Normals\" width=\"900px\" height=\"500px\" border=\"0\" \/><\/a><br \/>\n<i>Image-top: bad mesh normals are likely causing issues so in <strong>Object Data Properties<\/strong> [3] access <strong>Geometry Data<\/strong> [4] and click the <strong>Clear Custom Split Normals Data<\/strong> button [5]. Image-bottom: this removes the errant data, effectively resetting to the mesh to its raw, natural state.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":9290,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,237,230],"tags":[118,174,1105,556,104],"class_list":["post-9281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blender","category-misc3d","category-tutorials","tag-mesh-smoothing","tag-normals","tag-object-data-properties","tag-shade-smooth","tag-smoothing"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/9281","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=9281"}],"version-history":[{"count":5,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/9281\/revisions"}],"predecessor-version":[{"id":9291,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/posts\/9281\/revisions\/9291"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media\/9290"}],"wp:attachment":[{"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/media?parent=9281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/categories?post=9281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.katsbits.com\/codex\/wp-json\/wp\/v2\/tags?post=9281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}