anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
42 stars 16 forks source link

God rays visual glitch / bug #763

Open ztx-lyghters opened 3 years ago

ztx-lyghters commented 3 years ago

Game Version: 1.14.7 (also was present in earlier 1.14 versions) Platform: Arch Linux

specs / drivers - cpu: AMD FX-8350 - videocard: NVIDIA GTX 1060 3gb - 5.10.8 kernel - proprietary nvidia 460.32.03-1 driver - mono 6.12.0.107-1

Modded: Irrelevant (the problem is present without mods enabled)

Description

When enabled, godrays may glitch/change suddenly when moving camera vertically; there is a certain "area" where it will happen, which is easier to show, than to explain.

How to reproduce

  1. Turn on the god rays in settings
  2. Try to move camera vertically (in my case - along certain coordinate; this is demonstrated on second video)

Screenshots

I don't believe screenshots will be of use in demonstrating this problem, so I'll leave a link to a few videos instead.

Videos

link to google drive

nikivarvar commented 8 months ago

If I understand the description correctly (video is unavailable and locked out), the issue persists as of 1.19.0-rc1, which introduced some improvements to the shader.

The issue is easier to spot while being on a plain area with some trees around during sunset or a sunrise, when you can clearly see the sunrays, and slowly moving camera across the horizon. At a certain point, sunrays start to freak out and the point of origin, from which sunrays are coming from, moves to completely opposite direction, rendering sunrays pointing to opposite, towards sunny side, and when you "exceed" past that weird gap, sunrays come back to normal.

Video demonstrating the issue

It also happens throughout the entire game's daytime, when godrays are rendered, it's just not as noticeable in different periods of the day.

forgot to add the specs: os is windows 11, r7 1700x and rtx 3080 12gb with 546.33 driver

Edit from far future, because I don't really want bumping this issue like this: From Tyron's words on discord, this behavior is normal and known. I'm assuming it's a mix of the fact that it's a screen-space effect and it does some weird calculations to make it look fine when you look out from the sun.

ztx-lyghters commented 8 months ago

If I understand the description correctly (video is unavailable and locked out), the issue persists as of 1.19.0-rc1, which introduced some improvements to the shader.

The issue is easier to spot while being on a plain area with some trees around during sunset or a sunrise, when you can clearly see the sunrays, and slowly moving camera across the horizon. At a certain point, sunrays start to freak out and the point of origin, from which sunrays are coming from, moves to completely opposite direction, rendering sunrays pointing to opposite, towards sunny side, and when you "exceed" past that weird gap, sunrays come back to normal.

Video demonstrating the issue

It also happens throughout the entire game's daytime, when godrays are rendered, it's just not as noticeable in different periods of the day.

forgot to add the specs: os is windows 11, r7 1700x and rtx 3080 12gb with 546.33 driver

It's even worse in comparison with what I had (I haven't played in a while, not sure if I still have this issue), but yeah, it look like the same problem.

ztx-lyghters commented 8 months ago

New link to my videos