For people working on the C++ code.
x2048
Developer
Posts: 68 Joined: Mon Feb 15, 2021 22:41
GitHub:
x2048
by x2048 » Sun Sep 10, 2023 21:22
Post
Work in progress here:
https://github.com/x2048/minetest/tree/shadow_csm .
Why / goals:
No distortion => simpler math => easier to maintain
Better shadow quality or fewer resources for the same quality
No fading of the shadow at a distance of in the corners of the screen
Correct shadows for large sparse meshes (Little Lady, clouds etc.)
What works so far:
Non-colored shadows
3 cascades
update cascade 0 every frame, incremental updates for the other cascades
soft shadows
Worth it?
DELTA_FORCE
Member
Posts: 165 Joined: Tue Oct 30, 2018 01:26
IRC: DELTA_FORCE
In-game: DELTA_FORCE
Location: ee
by DELTA_FORCE » Mon Sep 11, 2023 01:18
Post
I would like to test but I do believe it's worth it. Anything more maintainable is a huge win in my book.
check me out nowhere because i never do anything
Astrobe
Member
Posts: 517 Joined: Sun Apr 01, 2018 10:46
by Astrobe » Thu Sep 14, 2023 17:09
Post
If the clouds you mention are the normal MT clouds, yes, do want - especially if it doesn't take too much resources. Cloud shadows could free me from adapting luminosity to cloud coverage, which is a bit tricky because it must work with the sun and the moon.
Users browsing this forum: No registered users and 1 guest