Added shadow map example.
Note: shadow maps as currently implemented are very fussy, they need tons of tweaking to look halfway decent. Also current implementation doesn't do proper depth normalization. For some reason this gives better results than the "right way".
Showing
examples/webgl_shadowmap.html
0 → 100644
想要评论请 注册 或 登录