Skip to content

LightmapGI: Lightmaps with UV2 imported from Blender are broken on 4.4 Beta1 #102164

@SpockBauru

Description

@SpockBauru

Tested versions

Reproducible in: 4.4.beta1
Not Reproducible in: 4.3 stable and 4.4 dev7

System information

Godot v4.4.beta1 - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.6614) - 12th Gen Intel(R) Core(TM) i7-12700KF (20 threads)

Issue description

Follow up from #101391, according to @Geometror this seems to be another issue unrelated to the crash.

When baking the tunnel from the follow MRP, which has UV2 imported from Blender, Lightmaps get corrupted on 4.4.beta1.

This issue doesn't happen on 4.3 stable neither 4.4.dev7.

It seems to bake correctly until the ShadowMask PR (189c8eb) but not on the transparency PR (a3525bc)

Steps to reproduce

Bake the lighmaps on the MRP.

Expected: Tunnel is dark with interior lights.
Results: Tunnel is light with weird lights.

Example:

4.3 stable 4.4.beta1
Image Image

Minimal reproduction project (MRP)

This MRP contains the .glb file from the tunnel and the test scene.
lightmap-regression.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Very Bad

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions