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

[BUG]: point light shadow can't work with dir light shadow #167

Open
lslzl3000 opened this issue May 19, 2023 · 1 comment
Open

[BUG]: point light shadow can't work with dir light shadow #167

lslzl3000 opened this issue May 19, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@lslzl3000
Copy link
Collaborator

lslzl3000 commented May 19, 2023

Describe the bug

If there are point/spot lights and dir lights in one scene, only dir light shadow is visible

To Reproduce

Steps to reproduce the behavior:

  1. add a dir light with castShadow, it works fine
  2. then add a point/spot light, can't see its shadow
  3. try to switch the debug option, point shadow only works when there is no dir shadow

Expected behavior

there should be two shadows

Screenshots

on 0.6.2
20230530-122029

on 0.6.3 - 0.6.5, point shadow can't render even with dir light disabled
20230530-131849

Orillusion engine version

0.6.3 - 0.6.5

Code demo link

https://codepen.io/orillusion/pen/jOeQWQP?editors=0010

@lslzl3000 lslzl3000 added the bug Something isn't working label May 19, 2023
@lslzl3000 lslzl3000 added this to the 0.6 milestone May 19, 2023
@lslzl3000 lslzl3000 added this to Engine May 19, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Engine May 19, 2023
@X-OldGentleMan X-OldGentleMan moved this from 📋 Backlog to 🔨Todo in Engine May 30, 2023
@lslzl3000
Copy link
Collaborator Author

lslzl3000 commented May 30, 2023

0.6.3-0.6.5 still got problem
point/spot shadow can't render if there is a dir light

@Noah133552 Noah133552 moved this from 🔨Todo to ✅ Done in Engine Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant