You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a game project which relies on turning the lights on/off throughout the game. I am using Volumetric Fog for World Environment, but if some of the lights were turned off when the game started, the fog doesn't work for them even if I enable the lights later in game. The issue is not present when Light3D has no shadows enabled.
Image for reference: green light was enabled all the time, white light was enabled via game logic.
Steps to reproduce
Create sample scene with Volumetric Fog and any light source (e.g. OmniLight3D). Enable shadows for the light source. Disable Light node in editor, launch the game, enable it via inspector, check the game.
Thanks for the report! Consolidating in #83685, as this is due to the same cause. (Using canvas_items stretch mode and resizing the window fixes the issue – you can also change the 3D resolution scale factor a bit.)
Tested versions
System information
Godot v4.2.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 Threads)
Issue description
I have a game project which relies on turning the lights on/off throughout the game. I am using Volumetric Fog for World Environment, but if some of the lights were turned off when the game started, the fog doesn't work for them even if I enable the lights later in game. The issue is not present when Light3D has no shadows enabled.
Image for reference: green light was enabled all the time, white light was enabled via game logic.
Steps to reproduce
Create sample scene with Volumetric Fog and any light source (e.g. OmniLight3D). Enable shadows for the light source. Disable Light node in editor, launch the game, enable it via inspector, check the game.
Minimal reproduction project (MRP)
TestFPS.zip
The text was updated successfully, but these errors were encountered: