{"id":142059971451,"date":"2016-06-08T11:16:05","date_gmt":"2016-06-08T09:16:05","guid":{"rendered":"http:\/\/blog.sketchfab.com\/?p=142059971451"},"modified":"2019-08-15T16:30:19","modified_gmt":"2019-08-15T14:30:19","slug":"automatic-pbr-texture-mapping","status":"publish","type":"post","link":"https:\/\/sketchfab.com\/blogs\/community\/automatic-pbr-texture-mapping\/","title":{"rendered":"PBR Automatic Texture Mapping"},"content":{"rendered":"<p>We recently pushed some changes to our PBR material processing. Nothing is new, but it will affect all future uploads, so it is important to understand what has changed.<\/p>\n<h2>Default\u00a0PBR<\/h2>\n<p>New model uploads now use\u00a0<a href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/204429595-Materials-PBR?utm_source=blog&amp;utm_campaign=blog_content\" data-cke-saved-href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/204429595-Materials-PBR?utm_source=blog&amp;utm_campaign=blog_content\">PBR mode<\/a>\u00a0for rendering by default instead of Classic. PBR is the best choice\u00a0in almost\u00a0every situation. Lighting and materials are\u00a0more realistic,\u00a0but\u00a0workflows like hand painting still look great!<\/p>\n<p>Colored lightmaps is one possible Classic use case,\u00a0but\u00a0this is a rather uncommon edge case. Don&#8217;t be afraid of complicated options in the editor. Read the\u00a0<a href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/204429595-Materials-PBR?utm_source=blog&amp;utm_campaign=blog_content\" data-cke-saved-href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/204429595-Materials-PBR?utm_source=blog&amp;utm_campaign=blog_content\">Help Center<\/a>\u00a0to learn what they all mean.<\/p>\n<p>Awesome PBR models:<\/p>\n<p>    <iframe title=\"PBR\" class=\"\" width=\"690\" height=\"388\" src=\"https:\/\/sketchfab.com\/playlists\/embed?collection=5ae73138e4a1477fb87b6f48d2bfccbe\" frameborder=\"0\" allow=\"autoplay; fullscreen; xr-spatial-tracking\" allowfullscreen=\"\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\" xr-spatial-tracking=\"true\" execution-while-out-of-viewport=\"true\" execution-while-not-rendered=\"true\" web-share=\"true\"><\/iframe><\/p>\n<p style=\"font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;\">    <a href=\"https:\/\/sketchfab.com\/Sketchfab\/collections\/pbr?utm_campaign=5ae73138e4a1477fb87b6f48d2bfccbe&#038;utm_medium=embed&#038;utm_source=oembed\" target=\"_blank\" style=\"font-weight: bold; color: #1CAAD9;\">PBR<\/a>    by <a href=\"https:\/\/sketchfab.com\/Sketchfab?utm_campaign=5ae73138e4a1477fb87b6f48d2bfccbe&#038;utm_medium=embed&#038;utm_source=oembed\" target=\"_blank\" style=\"font-weight: bold; color: #1CAAD9;\">Sketchfab<\/a>    on <a href=\"https:\/\/sketchfab.com?utm_campaign=5ae73138e4a1477fb87b6f48d2bfccbe&#038;utm_medium=embed&#038;utm_source=oembed\" target=\"_blank\" style=\"font-weight: bold; color: #1CAAD9;\">Sketchfab<\/a><\/p>\n<h2>Auto PBR<\/h2>\n<div class=\"alert alert-dismissable alert-info\"><button type=\"button\" class=\"close\" aria-hidden=\"true\">&times;<\/button><i class=\"notify-icon fa fa-info-circle\"><\/i>The permanent home for this content\u00a0is the\u00a0<a href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/202600873-Materials-Textures?utm_source=blog&amp;utm_campaign=blog_content#textures-auto-pbr\" data-cke-saved-href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/202600873-Materials-Textures?utm_source=blog&amp;utm_campaign=blog_content#textures-auto-pbr\">Help Center<\/a>.<\/div>\n<p>We&#8217;ve also introduced &#8220;Generalized PBR Auto Mapping&#8221;&#8230;<\/p>\n<p>Use our naming conventions to\u00a0help us apply textures to the correct shader slots. The format is &#8220;<strong>MaterialName_suffix.extension<\/strong>&#8220;. If you have a material named &#8220;<strong>Material1<\/strong>&#8220;, name your textures\u00a0&#8220;<strong>Material1_diffuse.png<\/strong>&#8220;, &#8220;<strong>Material1_metallic.png<\/strong>&#8220;, etc.<\/p>\n<div class=\"alert alert-warning\"><i class=\"notify-icon fa fa-warning\"><\/i>Avoid names with special characters, especially periods\u00a0&#8216;.&#8217;, underscores &#8216;_&#8217;, and hyphens &#8216;-&#8216; because this can break the matching code.<\/div>\n<p>These are the strings we look for in the suffix:<\/p>\n<ul>\n<li><strong>Diffuse \/ Albedo \/ Base Color<\/strong>: &#8216;diffuse&#8217;, &#8216;albedo&#8217;, &#8216;basecolor&#8217;<\/li>\n<li><strong>Metalness<\/strong>: &#8216;metalness&#8217;, &#8216;metallic&#8217;, &#8216;metal&#8217;, &#8216;m&#8217;<\/li>\n<li><strong>Specular<\/strong>: &#8216;specular&#8217;, &#8216;spec&#8217;, &#8216;s&#8217;<\/li>\n<li><strong>Specular F0<\/strong>: &#8216;specularf0&#8217;, &#8216;f0&#8217;<\/li>\n<li><strong>Roughness<\/strong>: &#8216;roughness&#8217;, &#8216;rough&#8217;, &#8216;r&#8217;<\/li>\n<li><strong>Glossiness<\/strong>: &#8216;glossiness&#8217;, &#8216;glossness&#8217;, &#8216;gloss&#8217;, &#8216;g&#8217;, &#8216;glossy&#8217;<\/li>\n<li><strong>AO<\/strong>: &#8216;ambient occlusion&#8217;, &#8216;ao&#8217;, &#8216;occlusion&#8217;, &#8216;lightmap&#8217;, &#8216;diffuseintensity&#8217;<\/li>\n<li><strong>Cavity<\/strong>: &#8216;cavity&#8217;<\/li>\n<li><strong>Normal Map<\/strong>: &#8216;normal&#8217;, &#8216;nrm&#8217;, &#8216;normalmap&#8217;<\/li>\n<li><strong>Bump Map<\/strong>: &#8216;bump&#8217;, &#8216;bumpmap&#8217;, &#8216;heightmap&#8217;<\/li>\n<li><strong>Emission<\/strong>: &#8217;emission&#8217;, &#8217;emit&#8217;, &#8217;emissive&#8217;<\/li>\n<li><strong>Transparency<\/strong>: &#8216;transparency&#8217;, &#8216;transparent&#8217;, &#8216;opacity&#8217;, &#8216;mask&#8217;, &#8216;alpha&#8217;<\/li>\n<\/ul>\n<p>The\u00a0<a href=\"https:\/\/sketchfab.com\/exporters\/substance?utm_source=blog&amp;utm_medium=referral\" data-cke-saved-href=\"https:\/\/sketchfab.com\/exporters\/substance?utm_source=blog&amp;utm_medium=referral\">Substance Painter Exporter<\/a>\u00a0and\u00a0<a href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/209614353-3D-Coat?utm_source=blog&amp;utm_campaign=blog_content\" data-cke-saved-href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/articles\/209614353-3D-Coat?utm_source=blog&amp;utm_campaign=blog_content\">3D-Coat Exporter<\/a>\u00a0have done for some time. Now we expanded it to all uploads and all formats! If you follow these guidelines, we will do our best to make your materials look great.<\/p>\n<p>I hope this is useful for your publishing workflow!\u00a0<a href=\"https:\/\/help.sketchfab.com\/hc\/requests\/new?utm_source=blog&amp;utm_campaign=blog_content\" data-cke-saved-href=\"https:\/\/help.sketchfab.com\/hc\/requests\/new?utm_source=blog&amp;utm_campaign=blog_content\">Let us know if you run into any trouble<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We recently pushed some changes to our PBR material processing. Nothing is new, but it will affect all future uploads, so it is important to<\/p>\n","protected":false},"author":8,"featured_media":142059971452,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[582],"tags":[983],"class_list":["post-142059971451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial","tag-tutorial-texturing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/sketchfab.com\/blogs\/community\/wp-content\/uploads\/2016\/06\/auto-pbr-blog-header.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059971451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/comments?post=142059971451"}],"version-history":[{"count":12,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059971451\/revisions"}],"predecessor-version":[{"id":142059974934,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059971451\/revisions\/142059974934"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/media\/142059971452"}],"wp:attachment":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/media?parent=142059971451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/categories?post=142059971451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/tags?post=142059971451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}