Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan: VoxelGI shows artifacts on highly reflective materials #50842

Open
Tracked by #55328
WickedInsignia opened this issue Jul 25, 2021 · 4 comments
Open
Tracked by #55328

Vulkan: VoxelGI shows artifacts on highly reflective materials #50842

WickedInsignia opened this issue Jul 25, 2021 · 4 comments

Comments

@WickedInsignia
Copy link

Godot version

Godot 4 nightly build

System information

Windows 10 v20H2, Intel i7 6700, Nvidia GTX1080, 16GB RAM

Issue description

Voxel GI consistently shows a wavy lined artifact in dark reflections on highly reflective materials. This is most obvious on metallic materials with very low roughness, and far less obvious on metallic materials with average roughness and non-metallic materials with very low roughness.

Steps to reproduce

These artifacts will be visible in the darker parts of a reflection on any mirror-like material with low roughness.
Here it is on a highly reflective metallic gold:
VoxelGI_LinedReflections_01

It is also visible (to a far lesser degree) on rougher reflective materials (in this case a fully metallic material) with roughness+normal maps:
VoxelGI_LinedReflections_02

Minimal reproduction project

A small reproduction project with 3 monkey meshes and 3 planes enclosed in a VoxelGI domain. Each plane has a differing material, from left to right:

  1. A highly reflective plastic
  2. A rough metal
  3. A highly reflective metal. The effect is most obvious here.

Please open Main_Scene first. The project can be found below:
Voxel GI Reflection Artifacts.zip

@Calinou
Copy link
Member

Calinou commented Jul 25, 2021

Playing around with the bias/normal bias values in VoxelGI should help, but setting them too high will increase leaking.

@WickedInsignia
Copy link
Author

WickedInsignia commented Jul 25, 2021

@Calinou I would have thought so too, but bias/bias normal values don't affect this at all. It just "pulsates" as you change those values but does not reduce in any way.

Using "2 Bounces" reduces it in some cases by filling the darker areas of the reflection with bounce light. Expanding the domain also alters its frequency so the lines are space further apart, but this also comes at the cost of resolution. In any situation it's still present enough to be an issue that didn't exist in the previous iteration.

@Calinou Calinou added bug and removed documentation labels Nov 25, 2021
@Calinou Calinou changed the title Voxel GI Shows Artifacts On Highly Reflective Materials Vulkan: VoxelGI shows artifacts on highly reflective materials Nov 28, 2021
@WickedInsignia
Copy link
Author

Coming back to confirm that VoxelGI reflections still have these banding artifacts in Alpha 8.

@clayjohn clayjohn modified the milestones: 4.0, 4.x Feb 23, 2023
@WickedInsignia
Copy link
Author

Bumping. These banding artifacts are the major downside of VoxelGI at the moment, since most everything else seemingly works well enough to be practical for production use. Reflection probes cannot be used to resolve the issue since they overwrite the effects of a VoxelGI probe entirely.
Reflections in VoxelGI also suffer from the same jitter that SDFGI reflections do, as described #74633.
Most observable on the windows of the Bistro demo scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants