ozzr / godot_terrain

Custom Godot Engine Build with Terrain Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visual artifacts (on amd gpu?)

Naurk opened this issue · comments

commented

Hi, I report you that I've tried your module (version 1.1.2 - godot 3.5.1 precompiled) on my amd gpu (rx 580) and it give me visual artifacts, that are not present when I try it on my nvdia gtx 3070. I attach some screen, but it seems to me it has to do with roughness: the first screen is from the game lunched (gles3) and the second is from the editor with glow enabled and HDR. I tried different settings and the artifacts remain. Maybe is not with all amd cards, but is a clue.

immagine

immagine

commented

Hi, thanks for reporting the issue and thanks for the clues.
I have an AMD RX480 GPU and it happens to me when enabling screen space reflections. Disabling the effect in the Environment node and restarting the editor fixes it (simply disabling the effect wont fix the issue). I have tried to fix the issue since the very first release of the module but I haven't been able of pinpointing the culprit.
I think I wrote something about this issue in the documentation.
Unfortunately I don't know how to fix this issue right now but I will put it at the top of the fix list once I finish working in the godot 4 version

In the mean time, avoid using screen space effects and make sure that either screen space reflections or screen space ao are disabled.