Gazebo | Ignition | Community
Ask Your Question

How to add light source in gazebo which gives shadows.

asked 2021-06-29 22:47:50 -0500

awh18 gravatar image

I want to create an indoor environment and hence need an indoor light source, I have tried out the led plugin, but it does not give out any shadows. I have tried out the directional lights, but it could not be contained inside the walls. Can you please guide me regarding this.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-07-05 23:58:05 -0500

Veerachart gravatar image

So far Gazebo's point & spot lights don't cast shadows yet. Only directional lights cast shadows and the size is infinitely large, with position doesn't give any difference. Recently I saw that there is some update in Gazebo 11 adding texture for spotlight shadow, but last time I tried it didn't cast shadows yet.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-06-29 22:47:50 -0500

Seen: 176 times

Last updated: Jul 05 '21