{"id":2671,"date":"2013-09-10T18:42:10","date_gmt":"2013-09-10T18:42:10","guid":{"rendered":"http:\/\/www.terrymatthes.com\/?p=2671"},"modified":"2024-03-06T20:10:29","modified_gmt":"2024-03-06T20:10:29","slug":"cgfx-shaders-cubemaps","status":"publish","type":"post","link":"https:\/\/terrymatthes.com\/2024\/2013\/09\/10\/cgfx-shaders-cubemaps\/","title":{"rendered":"CGFX Shaders: Cubemaps"},"content":{"rendered":"<p>After my work establishing a Phong model shader I wanted to incorporate cubemaps. Everything went fairly well. The next step is to combine this shader with my normal map shader.<\/p>\n<p>If all goes well I can get that done tonight. I&#8217;m having a lot of fun with shader authoring. It&#8217;s a nice blend of computer science and art that I&#8217;m really enjoying. My end goal for learning CGFX is to be able to produce a small scene in the Unreal Engine where I&#8217;ve written all the shaders. Wish me Luck!<\/p>\n<div class=\"epyt-video-wrapper\">\n<div  id=\"_ytid_26213\"  width=\"1080\" height=\"607\"  data-origwidth=\"1080\" data-origheight=\"607\" data-facadesrc=\"https:\/\/www.youtube.com\/embed\/7zCm99G9Hvg?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=3&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=1&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__ epyt-facade epyt-is-override  no-lazyload\" data-vol=\"0\"  data-epautoplay=\"1\"  data-epautoplay=\"1\" ><img decoding=\"async\" data-spai-excluded=\"true\" class=\"epyt-facade-poster skip-lazy\" loading=\"lazy\"  alt=\"YouTube player\"  src=\"https:\/\/i.ytimg.com\/vi\/7zCm99G9Hvg\/maxresdefault.jpg\"  \/><button class=\"epyt-facade-play\" aria-label=\"Play\"><svg data-no-lazy=\"1\" height=\"100%\" version=\"1.1\" viewBox=\"0 0 68 48\" width=\"100%\"><path class=\"ytp-large-play-button-bg\" d=\"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z\" fill=\"#f00\"><\/path><path d=\"M 45,24 27,14 27,34\" fill=\"#fff\"><\/path><\/svg><\/button><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After my work establishing a Phong model shader I wanted to incorporate cubemaps. Everything went fairly well. The next step is to combine this shader with my normal map shader. If all goes well I can get that done tonight. I&#8217;m having a lot of fun with shader authoring. It&#8217;s a nice blend of computer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3244,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","om_disable_all_campaigns":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[341,342,8,9],"tags":[47,71,183,224,245],"class_list":["post-2671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-r-d","category-scripting","category-techart","tag-cgfx","tag-cubemap","tag-maya","tag-reflection","tag-shader"],"acf":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/terrymatthes.com\/2024\/wp-content\/uploads\/2020\/10\/cubemapShader.png","_links":{"self":[{"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/posts\/2671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/comments?post=2671"}],"version-history":[{"count":2,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/posts\/2671\/revisions"}],"predecessor-version":[{"id":4357,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/posts\/2671\/revisions\/4357"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/media\/3244"}],"wp:attachment":[{"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/media?parent=2671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/categories?post=2671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/terrymatthes.com\/2024\/wp-json\/wp\/v2\/tags?post=2671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}