-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Detect too high lightmap texel density and warn before baking lightmaps #59988
Comments
Please add a minimal reproduction project for the developers. |
Usually, you can just drag and drop the zip file to the GitHub text area, no need to use external websites like WeTransfer. |
Unless the file is too large for GitHub attachments. But if it is small enough, GitHub attachments are strongly preferred to external sites because they're less likely to link rot. |
Despite the quality settings being the default, baking lightmaps is taking an extremely long time in the test project: This is because the lightmap texel density is too high on the subscene (due to the lightmap size for the mesh being too high). To resolve this:
I recommend removing the last digit of each number here, so you end up with
Here's the MRP with working lightmaps: New Game Project_1.zip @JFonS We should figure out if it's possible to detect extremely high lightmap sizes and warn before baking (and possibly prevent baking in this case, with an adjustable project setting to bypass this). This would prevent wasting time when configuring lightmap size. The alternative is to clamp the maximum lightmap size with a project setting, automatically using a lower texel density if needed. This could also be a solution to #54679. |
Duplicate of #54679. |
Godot version
Godot_v3.4.4-stable_win64
System information
Windows 10 Gles2.0
Issue description
I create objects with collision save them as .tres , then i put thoose object on level. Them i add simple light and bakelightbox but when i press bake lightmap godot turn off . GI woks fine but i want bake lightmap becouse i using Gles2
https://gyazo.com/72eccb1755e3b27d09ce4503bc6b1a22
Steps to reproduce
just import mesh create collision and save as .tres next add this object to level them light and bake lightmap
Minimal reproduction project
https://we.tl/t-TSb6rFhv8W
Bugsquad edit: GitHub mirror of the above WeTransfer: New Game Project.zip
The text was updated successfully, but these errors were encountered: