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
Describe the bug
Setting up a 200W spot light results in seemingly overly powerful lights.
Only solution to get normal spot lights is to set them to 1W which doesn't make sense and makes them completely invisible in Blender. I tested the resulting export inside GLTF-Viewer and the result was the same as with my toy engine (blown out colors).
Either the intensity values are wrong, GLTF-Viewer exposition/light attenuation is wrong, or I'm missing something.
To Reproduce
Create a scene with a spotlight at 200W, export to GLTF, observe overly powerful light intensity in GLTF-Viewer. Reducing exposure to -10 is necessary (from what I've seen Blender's exposure is 0 by default)
Expected behavior
From my limited understanding : spot lights with intensities lower than 10870 candelas, the resulting GLTF should at least render correctly on GLTF-Viewer.
Additional context
It might be linked to #564
Exporting using "unitless" seems to fix the issue, but it does not seem to really make sense since GLTF-Viewer seems to have correct Exposure and tonemapping doesn't it?
The text was updated successfully, but these errors were encountered:
Gpinchon
changed the title
Export intensity seems wrong (might be a GLTF-Viewer bug)
Exported KHR_lights_punctual intensity seems wrong (might be a GLTF-Viewer bug)
Feb 21, 2025
Gpinchon
changed the title
Exported KHR_lights_punctual intensity seems wrong (might be a GLTF-Viewer bug)
[KHR_lights_punctual] Exported intensity seems wrong (might be a GLTF-Viewer bug)
Feb 22, 2025
Describe the bug
Setting up a 200W spot light results in seemingly overly powerful lights.
Only solution to get normal spot lights is to set them to 1W which doesn't make sense and makes them completely invisible in Blender. I tested the resulting export inside GLTF-Viewer and the result was the same as with my toy engine (blown out colors).
Either the intensity values are wrong, GLTF-Viewer exposition/light attenuation is wrong, or I'm missing something.
To Reproduce
Create a scene with a spotlight at 200W, export to GLTF, observe overly powerful light intensity in GLTF-Viewer. Reducing exposure to -10 is necessary (from what I've seen Blender's exposure is 0 by default)
Expected behavior
From my limited understanding : spot lights with intensities lower than 10870 candelas, the resulting GLTF should at least render correctly on GLTF-Viewer.
Screenshots

Blender result :
glTF-Viewer result :

.blend file/ .gltf (mandatory)
LightTestScene-Spots.zip
GLTF.zip
Version
Additional context
It might be linked to #564
Exporting using "unitless" seems to fix the issue, but it does not seem to really make sense since GLTF-Viewer seems to have correct Exposure and tonemapping doesn't it?
The text was updated successfully, but these errors were encountered: