{"id":51637,"date":"2020-06-07T18:49:00","date_gmt":"2020-06-07T16:49:00","guid":{"rendered":"http:\/\/entertainmentengineers.net\/?p=51637"},"modified":"2020-09-08T18:04:51","modified_gmt":"2020-09-08T16:04:51","slug":"liquid-emulation","status":"publish","type":"post","link":"http:\/\/entertainmentengineers.net\/?p=51637","title":{"rendered":"Shader based fake liquid &#8220;Simulation&#8221;"},"content":{"rendered":"\n<p><br>A colleague happened to share a tweet by Ryan Bucks, who was working on some pretty impressive shader stuff to emulate bubbling liquid in a bottle<br>I find myself doing shader work quite a often these days and felt quite inspired to make use of a rainy Saturday afternoon to see how far I&#8217;d get, when having a stab at a realtime effect of the same nature.<br><br>Well and to not build some not so gratifying tension arc, this is what came out of it after a couple of hours work.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Liquid emulation\" width=\"520\" height=\"390\" src=\"https:\/\/www.youtube.com\/embed\/SBBMI90svY0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>I&#8217;ve been asked by several people to do a write up on the principles of this. I&#8217;ll hopefully get around to this in the next couple of days, so keep your brain cells peeled.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A colleague happened to share a tweet by Ryan Bucks, who was working on some pretty impressive shader stuff to emulate bubbling liquid in a bottleI find myself doing shader work quite a often these days and felt quite inspired to make use of a rainy Saturday afternoon to see how far I&#8217;d get, when [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":51643,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"cybocfi_hide_featured_image":"yes"},"categories":[14],"tags":[17,16,15,18],"_links":{"self":[{"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/posts\/51637"}],"collection":[{"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51637"}],"version-history":[{"count":6,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/posts\/51637\/revisions"}],"predecessor-version":[{"id":51680,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/posts\/51637\/revisions\/51680"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=\/wp\/v2\/media\/51643"}],"wp:attachment":[{"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51637"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/entertainmentengineers.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}