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: SDFGI does not obey custom Sky Rotation values #62793

Open
Tracked by #55327
Calinou opened this issue Jul 6, 2022 · 0 comments
Open
Tracked by #55327

Vulkan: SDFGI does not obey custom Sky Rotation values #62793

Calinou opened this issue Jul 6, 2022 · 0 comments

Comments

@Calinou
Copy link
Member

Calinou commented Jul 6, 2022

Godot version

4.0.alpha11

System information

Fedora 36, GeForce GTX 1080 (NVIDIA 510.68.02)

Issue description

SDFGI does not obey custom Sky Rotation values specified in WorldEnvironment. Here, the green light should be coming from the left, but it's actually coming from the top (the default sky orientation):

2022-07-06_22 32 18

In contrast, VoxelGI obeys custom sky rotation, and so does environment lighting without any GI:

VoxelGI

2022-07-06_22 32 10

No GI

2022-07-06_22 32 01

Steps to reproduce

  • Add a DirectionalLight3D node then hide it. This disables the preview sun in the editor, making the issue easier to notice.
  • Add a MeshInstance3D node and load a mesh resource.
  • Rotate the sky in the Environment resource.
  • Enable SDFGI in the Environment resource.
  • Notice how lighting comes from the original direction.

Minimal reproduction project

test_sdfgi_sky_rotation.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Up for grabs
Development

No branches or pull requests

2 participants