{"id":598,"date":"2012-05-08T21:38:59","date_gmt":"2012-05-09T01:38:59","guid":{"rendered":"http:\/\/alexlemke.com\/wordpress\/?p=598"},"modified":"2012-06-04T03:01:16","modified_gmt":"2012-06-04T07:01:16","slug":"basic-hlsl-shaders","status":"publish","type":"post","link":"http:\/\/alexlemke.com\/wordpress\/basic-hlsl-shaders\/","title":{"rendered":"Basic HLSL Shaders"},"content":{"rendered":"<p>Here are some basic HLSL shaders that I&#8217;ve made.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/alexlemke.com\/wordpress\/wp-content\/uploads\/2012\/05\/BasicHLSLShaders.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-599\" title=\"BasicHLSLShaders\" src=\"http:\/\/alexlemke.com\/wordpress\/wp-content\/uploads\/2012\/05\/BasicHLSLShaders-1024x586.png\" alt=\"\" width=\"620\" height=\"354\" srcset=\"http:\/\/alexlemke.com\/wordpress\/wp-content\/uploads\/2012\/05\/BasicHLSLShaders-1024x586.png 1024w, http:\/\/alexlemke.com\/wordpress\/wp-content\/uploads\/2012\/05\/BasicHLSLShaders-300x171.png 300w, http:\/\/alexlemke.com\/wordpress\/wp-content\/uploads\/2012\/05\/BasicHLSLShaders.png 1038w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Nothing fancy, just done to get\u00a0familiar\u00a0with FX Composer. \u00a0The way lighting is done in these shaders is\u00a0diffuse\u00a0lighting. \u00a0The light direction and the normal of the surface are used to determine how bright a certain spot is. \u00a0\u00a0All of these shaders were done in FxComposer.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/Hello_Shader.fx\">Color Shader<\/a><\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/Textured_Shader.fx\">Textured Shader<\/a><\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/BlinnPhong_Shader.fx\">Blinn Phong Shader<\/a><\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/DirectionalLight_Shader.fx\">Directional Light Shader<\/a><\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/PointLight_Shader.fx\">Point Light Shader<\/a><\/p>\n<p><a href=\"http:\/\/www.alexlemke.com\/Graphics\/Shaders\/HLSL\/SpotLight_Shader.fx\">Spot Light Shader<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some basic HLSL shaders that I&#8217;ve made. &nbsp; &nbsp; Nothing fancy, just done to get\u00a0familiar\u00a0with FX Composer. \u00a0The way lighting is done in these shaders is\u00a0diffuse\u00a0lighting. \u00a0The light direction and the normal of the surface are used to determine how bright a certain spot is. \u00a0\u00a0All of these shaders were done in FxComposer. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23],"tags":[24,25],"class_list":["post-598","post","type-post","status-publish","format-standard","hentry","category-graphics","category-shaders","tag-hlsl","tag-shader"],"_links":{"self":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/comments?post=598"}],"version-history":[{"count":16,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":849,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/posts\/598\/revisions\/849"}],"wp:attachment":[{"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/media?parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/categories?post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alexlemke.com\/wordpress\/wp-json\/wp\/v2\/tags?post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}