-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
LightmapGI: Baking lightmap in medium quality or more generate green invalid probes (low generate black invalid probes) #77169
Comments
I can't reproduce it in 2e273f0, whether the medium, high or ultra quality was used |
I updated the MRP. The issue still happens. Check it out @gongpha Just bake as it its |
I can't open Lightmap2.zip's main scene in the editor:
I've tried to manually edit
PS: I noticed you have a physical cameral camera attributes |
@Calinou try now. I didnt get the
I re-added the camera attributes .tres to the LightmapGI node. I was checking if that was the issue. In another large scene that I have, having the campera attributes to the LightmapGI node make the dynamic object to stop working with the probe |
I can confirm this on 4.0.3.stable and 4.1.rc 4642448 (Linux, GeForce RTX 4090 with NVIDIA 535.54.03):
Looks like I found a definitive scenario for reproducing this every time on all versions:
The issue goes away if you bake lightmaps a second time. Also, if you move the dynamic object anywhere close to the green probe, it becomes extremely bright and doesn't darken until you move it outside the LightmapGI's bounds entirely (likely due to time-based interpolation): |
@gongpha Try reading the lightmap node |
@jcostello here's its properties |
@gongpha I ment re-adding the LightmapGI (remove and add it again) |
Tried, doesn't work either |
The problem happens, it is a real issue, but IDK the right conditions. Maybe debugging the code? |
Invalid probes also appear on Windows, IIRC. |
You've been able to reproduce it? |
Do you have the exact steps so @gongpha can replicate |
The only reliable way I know of to cause this issue is to force light probes to overlap with geometries. I can link you the model I used later today. |
Here's the model I used in my previous screenshot. It causes invalid probes at 16 subdivisions or higher: https://skfb.ly/oIQGY |
#82068 seens to fix the issue |
Godot version
v4.1.dev.custom_build [437041a]
System information
Ubuntu with Nvidia 2060
Issue description
IDK the reason why but in medium quality or bigger, invalid probes are green. They should not be taking into account
Medium Quality
Low Quality
Steps to reproduce
Use MRP
Bake the lightmap (in medium quality)
Move the mesh in the editor to get the dynamic lighting.
You will get same result as the picture above
Minimal reproduction project
lightmap.zip
The text was updated successfully, but these errors were encountered: