-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
GLES2 Light bugs when baking light #43204
Comments
You forgot to add an MRP |
I'm unable to reproduce this bug in a minimal project. |
Maybe this old bug is related? #33110 |
Reprocuded the effect (in GLES 3, not GLES 2): Reason: Too many lights affecting the mesh --> Renderer Limit --> Flickering due to Choice of lights rendered affected by what the camera sees (I guess? - to the flickering part that is) Solutions: Reduce number of lights affecting the mesh or wait for Godot 4 and use Vulkan Edit: Oh nvm, I'm using GLES 3 and not GLES 2, which doesn't have that issue.. |
Sorry but that's not the same setup as wen the bug happens.
I've managed to reproduce the bug on a minimal project: |
I don't think I was successful with reproducing it on your MRP on a Quadro K2000 (driver 452.06).. Gif of the MRP would help in searching, as it's possible I'm looking at the wrong thing and thus not noticing the bug.. Only thing I'm noticing is that I can turn off all lights and still have a lit setup even with the baked lighting node hidden.. which only ends when I kill it. Edit: nvm I think I reproduced it now.. I'm at the OmniLight toggling it's visibility, and OmniLight6 Changes brightness depending on the Visibility of OmniLight and vice-versa.. based on the Gif.. That is the issue? Edit 2: Tested it on 3.2.3 Stable now, from 3.2.4 beta 1, seems like a regression, as I've been unable to do it in 3.2.3 Stable (now that I know what I'm looking for), However still haven't seen flickering when moving the camera on any Version I tested. Edit 3: Found Flickering issue now too. when Baked Lightmap is hidden, on camera coords Translation 0,7,23, rotation -30,0,0 Edit 4: Flickering Only in 3.2.4 Beta 1 and none of the issues reproducable in 3.2.3 Stable. This reeks of a Regression to me! |
Yeah in stable works OK (of course, without the new functionality of "baked mode all" light discrimination, which I suspect is the culprit) |
Cc: @JFonS |
Definitely sounds like a regression from the baked lights PR. I will take a look at it :) |
Still happens on 3.2.4 beta-2 |
Sorry for the delay on this issue. @Janders1800 I opened #43858 which I think fixes the issue. I tested on your MRP and everything seems to work fine, but it would be great if you could test it on your project as well. |
Fixed by #43858. |
Works OK |
Godot version:
3.2.4 beta-1
OS/device including version:
Zorin OS 15
Issue description:
Lights flicker wen moving the camera (Only if there is a BakedLightmap node).
"Bake mode all" lights illuminate baked objects, but if I hide it and show it again then it works ok, but it screws other lights.
Possible related: #41629
Steps to reproduce:
Make a similar setup as the gif
Minimal reproduction project:
LightMaps.zip
The text was updated successfully, but these errors were encountered: