Tested versions
- Tested on v4.4.stable.official [4c311cb]
System information
Godot v4.4.stable - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 18:09:27 +0000 on Wayland - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 19.1.7, DRM 3.61, 6.13.5-zen1-1-zen) - AMD Ryzen 5 2600 Six-Core Processor (12 threads)
Issue description
When using the Compatibility renderer, the Cull Mask property is ignored on DirectionalLight3Ds, but not other Light3Ds.
The screenshots are from the MRP. The left cube is on layer 1, while the right cube is on layer 2. The red lights only affect layer 1, while the green lights only affect layer 2.
Forward+:

Compatibility:

Steps to reproduce
- Open the MRP
- The directional lights will ignore the cull masks, making their combined light yellow. The omni lights will not, so the cubes' tops will be lit by them separately
- Switch the renderer to Forward+
- The directional lights will take the cull masks into account, so the cubes will be lit as intended
Minimal reproduction project (MRP)
glcullmaskmrp_2025-03-04_22-50-06.zip
Tested versions
System information
Godot v4.4.stable - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 18:09:27 +0000 on Wayland - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 19.1.7, DRM 3.61, 6.13.5-zen1-1-zen) - AMD Ryzen 5 2600 Six-Core Processor (12 threads)
Issue description
When using the Compatibility renderer, the Cull Mask property is ignored on DirectionalLight3Ds, but not other Light3Ds.
The screenshots are from the MRP. The left cube is on layer 1, while the right cube is on layer 2. The red lights only affect layer 1, while the green lights only affect layer 2.
Forward+:
Compatibility:
Steps to reproduce
Minimal reproduction project (MRP)
glcullmaskmrp_2025-03-04_22-50-06.zip