{"id":582,"date":"2011-01-18T06:54:11","date_gmt":"2011-01-18T06:54:11","guid":{"rendered":"https:\/\/astrofra.com\/wordpress\/?p=582"},"modified":"2011-01-18T06:54:11","modified_gmt":"2011-01-18T06:54:11","slug":"gamestart3d-an-introduction-to-the-shader-tree","status":"publish","type":"post","link":"https:\/\/astrofra.com\/wordpress\/index.php\/2011\/01\/18\/gamestart3d-an-introduction-to-the-shader-tree\/","title":{"rendered":"GameStart3D : an introduction to the Shader Tree"},"content":{"rendered":"<h2>What is this Shader Tree thing all about ?<\/h2>\n<hr>\n<p>Since its first beta release, GameStart came with an internal abstraction to handle materials (aka <em>shaders<\/em>). One of the major improvements of the latest release (namely GS Beta 6) is the ability to edit &#038; create a shader with a comprehensive and visual editor.<\/p>\n<div class=\"screenshot\"><img src=https:\/\/www.astrofra.com\/posts\/misc\/2012-12-18_075310.jpg><br \/>\nA basic tree example.<\/div>\n<p>The main benefit of this abstract representation of a shader appears when it comes to port your project &#038; assets to several platforms. No matter its complexity, a shader designed with the Shader Tree editor is fully portable. Each node is basic and independent from any kind of hardware implementation.<\/p>\n<p>As a testbed, and to demonstrate how straightforward and powerful this Shader Tree editor can be, I spent half a day to design random materials. The result is shown below :<\/p>\n<div class=\"screenshot\"><img src=https:\/\/www.astrofra.com\/posts\/misc\/2012-12-18_075348.jpg><br \/>\nA grid of experiments with the shader tree.<\/div>\n<h2>Animated Shaders<\/h2>\n<hr>\n<p>One of the funny features is a <em>clock<\/em> node, that allows the user to inject a clock tick inside a shader. Use it to scroll your UV coordinates, to blend colors along time, and so on. Here&#8217;s a video capture showing various use of this feature :<\/p>\n<div class=\"screenshot\"><iframe loading=\"lazy\" title=\"YouTube video player\" class=\"youtube-player\" type=\"text\/html\" width=\"790\" height=\"474\" src=\"http:\/\/www.youtube.com\/embed\/jNdqVgWZbbo?rel=0\" frameborder=\"0\" allowFullScreen><\/iframe><br \/>\nThe same thing in motion.<\/div>\n<p>Here you are, boys &#038; girls. Feel free to download the source file below, and enjoy !!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is this Shader Tree thing all about ? Since its first beta release, GameStart came with an internal abstraction to handle materials (aka shaders). One of the major improvements of the latest release (namely GS Beta 6) is the ability to edit &#038; create a shader with a comprehensive and visual editor. A basic &hellip; <a href=\"https:\/\/astrofra.com\/wordpress\/index.php\/2011\/01\/18\/gamestart3d-an-introduction-to-the-shader-tree\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">GameStart3D : an introduction to the Shader Tree<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-582","post","type-post","status-publish","format-standard","hentry","category-3d-techniques"],"_links":{"self":[{"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/582"}],"collection":[{"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":0,"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"wp:attachment":[{"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/astrofra.com\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}