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 did a bisect on the master branch and found that this is a regression from #34193 (4b4efd2).
The default values for the light fields were set to 0 ( modules/gltf/gltf_light.h lines 45 to 50), while before they had non-zero values (editor/import/editor_scene_importer_gltf.h lines 214 to 219). Making them 0 was a mistake.
Godot version
3.4-beta5
System information
Ubuntu 20.04.3 LTS
Issue description
Since 3.4 punctual lights from scenes imported from gltf or glb files seem to all have 0 range and attenuation. Color seems to come across fine.
I'm not seeing any errors in the output window.
In my workflow my gltf files come from blender, but I can replicate it (with the attached project) with the Lights gltf sample model here (https://github.com/KhronosGroup/glTF-Sample-Models/tree/adf2abe718a61a6859b29fab481bfbbdfc05df24/2.0/Lights).
Steps to reproduce
If you do the same in 3.3, the lights show up closer to what is expected.
Minimal reproduction project
test3.3.zip
test3.4.zip
The text was updated successfully, but these errors were encountered: