A Small Shadow Map Improvement

Shad­ows are a great way to relay infor­ma­tion in a 3D ren­der­ing. They can help demon­strate dis­tances between two objects such as a bounc­ing ball and the ground. They also relay fur­ther infor­ma­tion to the struc­ture of an object as they give a sec­ond sil­hou­ette from the per­spec­tive of the light cast­ing the shadow. In this arti­cle, I will demon­strate a very small but impor­tant improve­ment for THREEjs’s shadow ren­der­ing, a one line change to the shader code.

Con­tinue read­ing

Z God­dard

Z, a fan of hats and danc­ing to bad music, devel­ops games and code in Unity3D and WebGL. Always look­ing at new tech­nolo­gies for games, he has big dreams for Go.

More PostsTwit­ter