Lighting → implement allow dynamic-object shadows combine with baked lightmaps #4032
azur-wolve
started this conversation in
3D
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This proposal talks about use subtractive shadow-mapping/shadow-masking to allow casted-shadows from dynamic objects combine well with baked lightmaps. (it links with many other interesting links)
It looks pretty handy, as combine both static and dynamic lighting throws some issues with difficult workaround.
(right now if combine dynamic-casted shadows with baked-lightmaps both shadows are additive, so it doesn't look pretty well)
Such feature isn't expected to become a reality anytime soon (3.5/4.0) but still in consideration.
Related problems:
HDR texture formats could throw issues regarding the alpha channel + the Godot renderer has some trouble handling it with compression.
It could lead to needing use a separate texture anyways, which requires a reformulation of the linked Pull Request.
It also involves some problem regarding overlapping shadows.
Adding support for light-styles would be too complicated in exchange of the benefit it gives. (it won't allow to move the lights, only for fixed-placed ones)
Btw if you're interested on it, that's a good place to start giving it visibility and discussion ;) (also the "faked lighting" topic is welcome)
Edited:
This addon touches some aspects of the topic.
Beta Was this translation helpful? Give feedback.
All reactions