Skip to content

Regression: LightmapGI OmniLight3D light_size no longer emits outside of radius. #100909

@spookto

Description

@spookto

Tested versions

  • Reproducible in: 4.4.dev (2fcd822)
  • Not reproducible in: 4.4.dev7.

System information

Godot v4.4.dev (efa1443) - Nobara Linux 40 (KDE Plasma) on X11 - X11 display driver, Single-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 XT (RADV NAVI23) - AMD Ryzen 7 3700X 8-Core Processor (16 threads)

Issue description

In my project I place static OmniLight3Ds in light bulb meshes, combined with glowing materials it can look very nice.

The lights in my scene have a size of 0.55m and the bulb's radius is 0.49m
4.4.dev7:
Image

Master:
Image

Steps to reproduce

1 - Create a MeshInstance3D and give it a SphereMesh with UV2 and static baking enabled.
2 - Add an OmniLight3D with Static bake_mode.
3 - Position the light inside the mesh.
4 - Increase the light's size to be larger than the mesh
5 - Add a LightmapGI node and bake the scene.

Minimal reproduction project (MRP)

lightregression_mrp.zip

Open node_3d.tscn, select the LightmapGI node and click bake.

The 0.0m size light behaves as expected, where the mesh fully blocks it, but the 0.6m size light is expected to emit outside of the mesh like a light bulb

4.4.dev7:
Image

Master:
Image

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Unassessed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions