Open source development of the game Knight Online. This is a reversed engineered old version of the game aiming to replicate the nostalgic experience we all once had <3
MIT License
52
stars
21
forks
source link
Moon and Sun textures are broken at a specific angle #167
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.