godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.97k stars 19.49k forks source link

Scanline-like artifacts in 3d scenes #91260

Open aladvs opened 2 months ago

aladvs commented 2 months ago

Tested versions

Reproducible in 4.2 stable & 4.1 stable.

System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 (Advanced Micro Devices, Inc.; 31.0.24027.1012) - Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 Threads)

Issue description

Strange scan-line like visual artifacts occur randomly depending on visual settings and camera setup.

Steps to reproduce

This occurs in the official godot 3d settings demo (copy attached in MRP)

  1. Open project
  2. Run project in editor or as exported build
  3. Enable 'ultra' settings

The issue can be temporarily remedied by disabling MSAA, but still can occur with it off. Attached is an image with an example of how it looks. image

Minimal reproduction project (MRP)

graphics_settings.zip

TrueJole commented 2 months ago

I've had this too, but only when I exported my project to Windows, it doesn't show in the Editor on Linux. I didn't check it long enough if it still shows after disabling MSAA but it worked for me. Godot v4.2.2.stable - Linux Mint 21.3 (Virginia) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (amdgpu; 6.3.6) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

clayjohn commented 2 months ago

Can you both test with 4.3-dev5 (https://godotengine.org/download/archive/4.3-dev5/)? I think this is something that we fixed in 4.3

aladvs commented 2 months ago

image @clayjohn This still occurs.

https://github.com/godotengine/godot/assets/78510667/26556290-2ac7-45dc-a6bf-0a69263f74f0

TrueJole commented 2 months ago

Yep, also still occurs. For me it's MSAA AND VoxelGI turned on that creates this effect.

aladvs commented 2 months ago

For me, this occurs only due to *2 MSAA. other settings dont seem to affect it