Gazebo | Ignition | Community
Ask Your Question

heightmap does not cast shadows

asked 2019-02-20 17:49:18 -0500

mogumbo gravatar image

It appears heightmaps do not cast shadows. You can see this easily by starting gazebo 9, adding the apollo15_landing_site_1000x1000 model, and adjusting the sun angle. The terrain is shaded but there are no shadows, even though the visual has cast_shadows = True. If you place another model above the terrain, you can see that it casts a shadow on the terrain.

Is this a missing feature, or is there some trick to get heightmaps to cast shadows?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-11 18:05:10 -0500

mogumbo gravatar image

This is fixed in Gazebo 9 with this merge:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-02-20 17:49:18 -0500

Seen: 289 times

Last updated: Mar 11 '19