-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wind Waker / Twilight Princess: Fix sun PeekZ
We were testing if the sun's position was obscured by something closer. However, the game only places the sun 8000 units away, which is very easy to hit with one of the bigger maps. The original game seems to test if the depth buffer has *anything* in it at all. I can't recall exactly why I went with the projected Z thing, so just do this instead.
- Loading branch information
Showing
2 changed files
with
6 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters