New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuation of x2048's Cascaded Shadows #13956
Conversation
I tried to test on MacOS, but minetest crashes on startup Thread 0 Crashed:: Dispatch queue: com.apple.main-thread |
Looks like this is coming from Irrlicht. |
Only with this PR applied. cd ~/VSCode irrlicht_mt_tag.txt expands to 1.9.0mt13 |
Can someone else test on a Mac and confirm? |
7e394fa
to
d23abf7
Compare
Rebased. |
BTW. I tried the artifact generated by the build CI and ran it on MacOS, and it worked fine. No crash and no strange behavior. So @superfloh247 that looks like a problem in your environment only. |
d23abf7
to
6fae23e
Compare
And... Rebased again. This one was tedious. |
6fae23e
to
1962453
Compare
Actually, I would love to separate all the other improvements from the Cascade logic, but I won't have enough time, and there's a lot of "black-magic" in that code - lots of math with hard-coded parameters and no comments. |
1962453
to
939f953
Compare
Rebased... Again. This is bit-rotting fast. |
939f953
to
f003e17
Compare
Rebased... |
4c1d26a
to
62b9b72
Compare
62b9b72
to
e9d8349
Compare
Anybody else interested in this. |
The perspective factor is still not right. With very short viewing_range and low sun (morning/evening) there are incorrect shadow stripes. |
I'm signing off from this one. |
From #13833:
Upgrades the current shadow mapping implementation to cascaded shadow maps.
Benefits:
Other fixes:
Notes:
To do
This PR is Ready for Review.
Changes from #13833:
How to test