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 displays outside the extents when its extents are not uniform #62930

Open
Tracked by #55328
dam482 opened this issue Jul 12, 2022 · 1 comment
Open
Tracked by #55328

Comments

@dam482
Copy link

dam482 commented Jul 12, 2022

Godot version

v4.0.alpha11.official [afdae67]

System information

Windows 11, Vulkan, Nvidia 1070 GTX

Issue description

Geometry outside the extents of a VoxelGI can be incorrectly lit by bounced light, if the VoxelGI extents are not a perfect uniform cube (all dimensions are equal).

Steps to reproduce

Using the attached reproduction project, bake the VoxelGI, you will see all the red light is contained with the VoxelGI extents. Then decrease the Z extent from 6m to 5m, bake again, and you will see red lighting leaking from the VoxelGI, along the +Z axis, by about 1m.

Minimal reproduction project

VoxelGILeak.zip

@Calinou
Copy link
Member

Calinou commented Jul 12, 2022

I can confirm this on 4.0.alpha d26442e (Linux, NVIDIA 510.68.02).

Extents (6, 6, 6)

2022-07-12_19 02 22

Extents (6, 6, 5)

2022-07-12_19 02 33

@Calinou Calinou changed the title VoxelGI leaks light when extents are not uniform VoxelGI displays outside the extents when its extents are not uniform Jul 12, 2022
@Calinou Calinou added this to the 4.0 milestone Jul 12, 2022
@Calinou Calinou moved this to To Assess in 4.x Priority Issues Jul 12, 2022
@Calinou Calinou changed the title VoxelGI displays outside the extents when its extents are not uniform Vulkan: VoxelGI displays outside the extents when its extents are not uniform Jul 12, 2022
@clayjohn clayjohn modified the milestones: 4.0, 4.x Jan 12, 2023
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