{"id":210,"date":"2007-05-01T20:35:07","date_gmt":"2007-05-02T00:35:07","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=210"},"modified":"2007-05-01T20:35:07","modified_gmt":"2007-05-02T00:35:07","slug":"shader-with-light-support","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2007\/05\/01\/shader-with-light-support\/","title":{"rendered":"Shader with light support"},"content":{"rendered":"<p>\t\t\t\tFinished rewriting the normal map shader.  Supports ambient, diffuse, specular, and emmisive.<\/p>\n<p><img src=\"http:\/\/www.rakkar.org\/blog\/images\/lights.jpg\" alt=\"3 lights\" \/><\/p>\n<p>It&#8217;s pretty optimized.<\/p>\n<p>I feel good about learning but also upset that this should have been done 8 months ago by the original graphics programmer I hired.  As I look around at samples, I realize he didn&#8217;t really write anything at all, but copied from those samples and made some minor changes.  The result didn&#8217;t support the features I asked for and was slow.<\/p>\n<p>Last week I sent the shader to another company to optimize it.  What I got for my $400 was something twice as fast but was buggy.<\/p>\n<p>So I went over it myself today, fixed all the bugs, and made it twice as fast again.<\/p>\n<p>Funny how I, with 2 months of training and no experience doing this, can beat a supposed lead programmer and an outsourcing game company in one day.  Or maybe this isn&#8217;t a reflection of how good I am but how bad I am at picking competent people to work for me.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finished rewriting the normal map shader. Supports ambient, diffuse, specular, and emmisive. It&#8217;s pretty optimized. I feel good about learning but also upset that this should have been done 8 months ago by the original graphics programmer I hired. As I look around at samples, I realize he didn&#8217;t really write anything at all, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/210"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}