Skip to content

SCons: Enable lightmapper and xatlas_unwrap modules on Android and iOS editors#107635

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
akien-mga:scons-xatlas-lightmapper-mobile-editors
Jun 18, 2025
Merged

SCons: Enable lightmapper and xatlas_unwrap modules on Android and iOS editors#107635
Repiteo merged 1 commit into
godotengine:masterfrom
akien-mga:scons-xatlas-lightmapper-mobile-editors

Conversation

@akien-mga

Copy link
Copy Markdown
Member

CC @migueldeicaza as you might want to test this on Xogot.

It seems like @Calinou already found this config discrepancy in #94297 (comment) and tested it together with @Saul2022 for the Android editor. But somehow it seems we forgot to PR the change.

Needs testing to confirm that both UV unwrapping and the lightmapper are functional on the Android editor (and Xogot, if Miguel or his team can test).

@clayjohn clayjohn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me. I don't see any reason not to use these on the Android editor.

Funny enough we don't have an exception for the web editor where the lightmapper definitely won't work.

@akien-mga

Copy link
Copy Markdown
Member Author

Funny enough we don't have an exception for the web editor where the lightmapper definitely won't work.

Yeah #103100 should solve that as renderer_rd will be disabled by default for web.

@syntaxerror247 syntaxerror247 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with MRP from linked issue, works as expected.

@Saul2022

Copy link
Copy Markdown

OMG I thought the unwrap worked fine and my geometry was just bad and since there’s 0 decent modeling free app, i couldn’t do anything(for when blender for phones and tablets). For what I tested seems to work well( s24 ultra), but will test when I have more time.

@llama-nl

Copy link
Copy Markdown

It works very well, although it takes time. Why was it disabled for that long?

@Saul2022

Copy link
Copy Markdown

It works very well, although it takes time. Why was it disabled for that long?

From what i remember , because of mobile being prone to termal throttling really fast and not supporting compute as well as desktop. Godot can optimize the lightmap , but that still remains.

@Repiteo Repiteo merged commit 88064d8 into godotengine:master Jun 18, 2025
20 checks passed
@Repiteo

Repiteo commented Jun 18, 2025

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UV2 lightmap unwrap fails for glTF/glb on Android editor LightmapGI fails to bake on mobile devices

6 participants