Auto Deferred Shader

I didn’t add shadows to the scene(directional) lights. I’m not sure how to setup cascade shadow mapping and anything else sucks, even with cascade mapping you get artifacts.

The near-far frustrum is set so low to maximize depth resolution, you can move the far plane 10x or 100x further but I’d leave the near plane where it is. I didn’t put any function to set this, you’ll need to edit deferred_render.py, line 440(or near it)