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

Multiple directional (point) lights not working #401

Closed
rsahlin opened this issue May 4, 2022 · 1 comment · Fixed by #402
Closed

Multiple directional (point) lights not working #401

rsahlin opened this issue May 4, 2022 · 1 comment · Fixed by #402
Assignees
Labels

Comments

@rsahlin
Copy link

rsahlin commented May 4, 2022

When testing a scene with 2 directional lights using KHR_lights_punctual I can only see light contribution from the first lightsource.

The scene is created with one lightsource declared using the KHR_lights_punctual extension, this light is then referenced in two nodes that have -45 degree rotaion around the x axis and 45 and -45 degrees along the y-axis respectively.
I think the expected output would be that the right side of the elbow rest would be lit, just as the left side is since there is 2 lightsources rotated -45 and 45 degrees along y.

image

Link to glb - please note that this is a protected link, ask for access and it will be granted :-)
https://drive.google.com/file/d/1OZahwdY5lqUFeiuexChqBl9CTbI2R9aO/view?usp=sharing

@rsahlin rsahlin added the bug label May 4, 2022
@UX3D-nopper UX3D-nopper self-assigned this May 4, 2022
@UX3D-nopper UX3D-nopper changed the title Multiple directional (point) lights now working Multiple directional (point) lights not working May 5, 2022
@UX3D-nopper
Copy link
Contributor

UX3D-nopper commented May 5, 2022

I could reproduce the bug, as in Gestaltor it is correct. My team will fix this as this should be quickly done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants