-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
GI Probe Broken when using procedural meshes #35200
Comments
This problem also exists in v3.1. I am thinking maybe it has something to do with the fact that the room was built out of cube meshes produced by Godot. |
@DEF7 I've always had issues with procedural meshes when baking GIProbe or BakedLightmap. I don't know how this can be fixed. Try creating the scene in Blender instead. |
Great! |
This problem appears only if ROTATION applied for meshes which "use in baked light". You can check it in this project:
|
Good catch! Is this still happening in current builds? |
Yes, i use Godot_v3.5-stable_win64 |
It might be worth checking whether this issue occurs in 4.0.alpha14 (with the exact same test scene). |
Its seems the issue occurs in 4.0.alpha14, but in some different situations. Ive tried to rotate other nodes (ceiling(red), floor(green), wall), but reflections seems ok, example - wall (white): Tested on 4.0.alpha13-14, updated test scene (materials from 3.5 wont migrate to 4.0): |
This could also be related to #62930 in |
Godot version:
3.2b5
OS/device including version:
Windoze 10 / Ryzen 5 2600 / RX 5700 XT
Issue description:
GI probe is not properly calculating lighting for surfaces from an omni-light source (perhaps others, I've only tested the OmniLight) and is dependent on the orientation of the GI probe. It appears that the GI probe is baking incorrectly, causing lighting to be calculated wrong for the GI volume.
Note that only half of the ceiling and the opposite half of the floor have light in the reflections of the sphere and capsule in this GIF as I move the light left/right: https://imgur.com/a/akCR71U
If I rotate the GI probe 45 degrees and re-bake then the issue occurs but at a 45-degree angle on the ceiling/floor, so it would appear to be specific to the GI probe baking. I'm surprised nobody has even noticed this because I first noticed it with beta 4 and just downloaded beta 5 to see if it was fixed yet.
The surfaces also appear to be depicting the incorrect GI probe lighting back onto themselves in tandem with the illumination from the OmniLight source, but this behavior seems normal - just not the lighting being gathered from the GI Probe itself.
Steps to reproduce:
Create GLES3 project, make a room out of cube MeshInstances with basic SpatialMaterials for walls/ceiling to have unique albedo color, set the MeshInstances to be used in baked lighting, create sphere MeshInstance with full metalic and zero roughness SpatialMaterial, add OmniLight, create GI probe encompassing entire room and bake, observe wrong room lighting reflected in sphere.
Minimal reproduction project:
Project is attached. Open the Spatial.tscn scene in the project and select the OmniLight, move it left/right and observe the incorrect ceiling/floor lighting reflecting in the sphere.
BrokenGIProbeReflections.zip
The text was updated successfully, but these errors were encountered: