+2 votes

My game uses 3D level geometry imported from COLLADA files exported from Blender.
When I manually Unwrap UV2 for Lightmaps in Godot it works only in the engine viewports - as soon as I run the game, the .dae file is being re-imported, the UV2 mapping is gone and the lightmaps don't work.

If I discard instancing of my 3D scene - it will work, but I can't easily update my geometry from Blender export.

I'd like to be able to automatically unwrap UV2 fro lightmaps as soon as the COLLADA file is being imported so that I can have it instanced and use lightmaps at the same time.

How can I do this?

in Engine by (199 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.