Closed stevewgr closed 2 years ago
When the Sun or Moon is at a specific angle, the texture displays as white.
The bug introduced from the following PR where it updates device render states: https://github.com/ko4life-net/ko/pull/159
Reverting this change fixes the issue, but we need to find a proper fix for the sky. I think it might be collision of render states or some sort.
Change the sun angle by setting different game time.
@xGuTeK, since you worked on this, do you want to check this?
Assigning @xGuTeK for the record, since he is working on it.
Description
When the Sun or Moon is at a specific angle, the texture displays as white.
The bug introduced from the following PR where it updates device render states: https://github.com/ko4life-net/ko/pull/159
Reverting this change fixes the issue, but we need to find a proper fix for the sky. I think it might be collision of render states or some sort.
Screenshots
To Reproduce
Change the sun angle by setting different game time.