shadow maps in gazebo useable
is it possible to use shadow maps in gazebo? To make my simulation more dynamic I want to precompute the shadows and other thing but couldn't find it so far.... Thanks for any help!
if I understand correctly, you already have a precomuted shadow map texture and just want to apply it to the scene? There is a tutorial on using lightmap: http://gazebosim.org/tutorials?tut=lightmap. You could do something similar and apply the prebaked shadow map texture to the ground plane?
thank you! yes that's right, I want to use precomputed shadows. I've already thought about your idea before but because of other objects and size it would be better if shadows were separated from the texture (too much effort for the whole thing). Do you know if this is somehow possible ?
when you say "better if shadows were separated from texture", do you mean you have a separate shadow map texture and don't want to it to be baked into the ground plane texture?
yes, that's right.
you maybe able to update the material script to use a multi-pass material. The first pass applies the normal ground plane texture and the second pass applies the shadow map. Gazebo uses ogre material scripts so if you google ogre multipass material, there should be some examples.