{"id":4295,"date":"2012-06-15T08:37:52","date_gmt":"2012-06-15T13:37:52","guid":{"rendered":"https:\/\/spaceengine.org\/?p=4295"},"modified":"2022-08-17T08:38:40","modified_gmt":"2022-08-17T13:38:40","slug":"smooth-texture-blending-on-planets","status":"publish","type":"post","link":"https:\/\/spaceengine.org\/news\/blog120615\/","title":{"rendered":"Smooth texture blending on planets"},"content":{"rendered":"<p>I have implemented smooth blending between surface textures. Now they blend with each other like in other game engines. Compare the next two screens - before and after the modification. The color change is due to blending of the grass level with the tree level.<\/p>\n\n\t\t\t\n\t<style type=\"text\/css\">\n\t\t.slider-info-4296.bafg-slider-info .bafg-slider-title {\n\t\t\t\t\t\t\tfont-size:\n\t\t\t\t\t22px\t\t\t\t;\n\t\t\t\n\t\t\t\n\t\t\t\t\t}\n\n\t\t.slider-info-4296.bafg-slider-info .bafg-slider-description {\n\t\t\t\n\t\t\t\n\t\t\t\t\t}\n\t\t\n\t\t\n\t\t.slider-info-4296.bafg-slider-info .bafg_slider_readmore_button {\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\ttext-align: center;\n\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\t}\n\n\t\t.slider-info-4296.bafg-slider-info .bafg_slider_readmore_button:hover {\n\n\t\t\t\n\t\t\t\n\t\t\t\t\t}\n\t<\/style>\n\t\n\t\t\t<div class=\"bafg-twentytwenty-container slider-4296  \"\n\t\t\t\tbafg-orientation=\"horizontal\" bafg-default-offset=\"0.5\"\n\t\t\t\tbafg-before-label=\"Before\"\n\t\t\t\tbafg-after-label=\"After\" bafg-overlay=\"1\"\n\t\t\t\tbafg-move-slider-on-hover=\"\"\n\t\t\t\tbafg-click-to-move=\"\">\n\n\t\t\t\t\t\t\t\t<img class=\"skip-lazy\" data-skip-lazy\t\t\t\t\tsrc=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/1578172.jpg\" alt=\"\">\n\t\t\t\t<img class=\"skip-lazy\" data-skip-lazy\t\t\t\t\tsrc=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/1024825.jpg\" alt=\"\">\n\n\t\t\t<\/div>\n\n\t\t\t\t<div class=\"bafg-slider-info-wraper\">\n\t\t<div style=\"\" class=\"slider-info-4296 bafg-slider-info\">\n\t\t\t\t\t<\/div>\n\t<\/div>\n\t\n\t\t\t<style type=\"text\/css\">\n\t\t\t\t\t\t\t\t\t\t\t<\/style>\n\t\t\t\n<p>Transitions in some places are not smooth, and I don't know why. But I think that it's better to have sharp edges somewhere on the planet. I've left some sharp transitions, shown between rock\/grass, because the smooth ones look unrealistic. Some more screenshots:<\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4304\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/9127941.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4303\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5423741.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4302\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/0045257.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4301\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/3044430.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4300\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/5395240.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-1024x576.jpg\" alt=\"\" width=\"1024\" height=\"576\" class=\"aligncenter size-large wp-image-4299\" srcset=\"https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-1024x576.jpg 1024w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-300x169.jpg 300w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-768x432.jpg 768w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-1536x864.jpg 1536w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649-700x394.jpg 700w, https:\/\/spaceengine.org\/wp-content\/uploads\/2022\/08\/8730649.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have implemented smooth blending between surface textures. Now they blend with each other like in other game engines. Compare the next two screens - before and after the modification. The color change is due to blending of the grass level with the tree level....<\/p>\n","protected":false},"author":1,"featured_media":4299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/4295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/comments?post=4295"}],"version-history":[{"count":1,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/4295\/revisions"}],"predecessor-version":[{"id":4305,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/posts\/4295\/revisions\/4305"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media\/4299"}],"wp:attachment":[{"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/media?parent=4295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/categories?post=4295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spaceengine.org\/wp-json\/wp\/v2\/tags?post=4295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}