Post

Godot Hack: How to get 6x faster omni lights! #godot #godotengine

17 reposts141 likes

really cool hack! I wonder if it's possible to expose a thingy that lets you control which sides of the cubemap get rendered...

I would love it if someone made a PR! Rendering all 3 sides making up a corner would be even better than these spotlights But it's probably not an easy task with how core it is, and I don't know if the maintainers want the tech debt. Also not sure it'd be possible to handle smoothing out the edges.

Is the idea just that it would be faster? I would prefer an option to cache shadows per-face, so Godot just updates each face when needed. Godot currently updates all six faces whenever anything in range moves, but we could get away with updating less.