Robotics StackExchange | Archived questions

How to apply shaders in Gazebo 6

Hi,

I am wondering if there is any way to apply shaders in gazebo? I found a tutorial on how to apply lightmaps (http://gazebosim.org/tutorials?tut=lightmap) but not how to use shaders. Since Gazebo builds on Ogre, which fully supports shaders, i think there has to be a way, maybe i just didn't find it.

Thanks for your help

Asked by TheElk on 2016-02-12 05:59:35 UTC

Comments

It seems to be possible, as there are some test materials with custom shaders in the repository: https://bitbucket.org/osrf/gazebo/src/dce3030d87304270475ddb742e9be402bc383b5c/test/media/materials/scripts/heightmap_custom.material?at=default&fileviewer=file-view-default However I didn't manage to run it properly.

Asked by Fabian on 2017-12-25 07:16:17 UTC

Answers