Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KHR_lights_punctual spot light range not interpeted correctly #13319

Open
DGriffin91 opened this issue May 10, 2024 · 0 comments
Open

KHR_lights_punctual spot light range not interpeted correctly #13319

DGriffin91 opened this issue May 10, 2024 · 0 comments
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Comments

@DGriffin91
Copy link
Contributor

Bevy version Main dcb8a13, 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:
bevy_spot_range

Blender:
blender_spot_range

The point light appears to translate the range correctly. Unfortunately, KHR_lights_punctual does not support light radius.

@DGriffin91 DGriffin91 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 10, 2024
@IceSentry IceSentry added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants