KHR_lights_punctual spot light range not interpeted correctly
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version Main https://github.com/bevyengine/bevy/commit/dcb8a13b223fbc9425f7af01b3941dd80a229384, 0.13
A spotlight described in a glTF with a range of 3 with result in a light with both a range and a radius of 3.
The range is used to define a distance cutoff at which the light's intensity may be considered to have reached zero. But the radius is used to describe the size of the emitting light source.
A glTF with a spot light with a range of 3 and a radius of 0:

Blender:

The point light appears to translate the range correctly. Unfortunately, KHR_lights_punctual does not support light radius.
Contributor guide
Assessment
This issue has not been assessed yet.