bWFuanVzYWth / OriginShader

A shader for MCPE
GNU General Public License v3.0
283 stars 130 forks source link

Underwater bug / 水下问题 #28

Open Flesei opened 2 years ago

Flesei commented 2 years ago

When i go underwater at night, lightning changes to day. / 当我晚上去水下时,闪电变成白天。 Before entering water / 入水前: Screenshot_2021-09-05-21-20-48-537_com mojang minecraftpe In the water / 在水中: Screenshot_2021-09-05-21-20-03-005_com mojang minecraftpe

bWFuanVzYWth commented 2 years ago

This is a bug. But it is hard to fix. Actually, you CAN NOT get the correct daytime. So I try to use FOG_COLOR to guess the daytime. This method has many problem, such as the sun and the moon won't move unless in the morning(evening), if you entering water the time will change to the noon. That's why this bug is hard to fix. If you have Chinese version, you can try to use the set TRY_MCPE_NETEASE, which could try to use the correct time but only work in Chinese version.