-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Ogre1.x] Point and spot lights don't cast shadows #32
Comments
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
|
If the engines are similar enough, I could try to implement point light shadows like how I did here: gazebosim/gazebo-classic#3051. |
That would be nice! |
changes to the core classes should be straight forward to port. The demo world will likely have to live in ign-gazebo because ign-rendering does not support parsing sdf files. |
I'll also see if I can get it working for Ogre2. |
directional light and spot light shadows should be working in ogre2. However, there is an issue with having directional light and point light shadows enabled at the same time as found in gazebosim/gz-sim#587 (comment) |
Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Summary
All lights have the Light::SetCastShadow function, but it only works if the light type is directional.
Motivation
I noticed this while reviewing this Ign-Gazebo PR. The issue is analogous to Gazebo issue 2083.
Describe alternatives you've considered
Additional context
This blue spot light had shadows on:
The text was updated successfully, but these errors were encountered: