-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Shadow mapping is not supported #84
Comments
While the player normally cannot see these things, the shadow light source definitely can. During the chunk building process, the faces on the sides of chunks on the edge of the world are culled with the expectation that a new chunk will be loaded there, however it would be possible to keep track of all of those culled faces, then render them during shadow map rendering only. This would fix the issue of shadow light seeping into caves that seems to afflict many shaderpacks. You can see in this image how the shadow map under OptiFine is able to see caves and underground mobs: This is a completely dark cave underground, yet it is filled with sun: Some shaderpacks work around this by only applying shadows to faces with a certain sky light value, however this causes problems of its own. |
Shadows are now available in the latest trunk version. |
Many shaderpacks require this to work properly. They'll run without it, but things won't look right.
The text was updated successfully, but these errors were encountered: