How to add texture to my dae file without transparency.
Hello.
I create dae file on Blender. In Blender, leaves are not transparent. However, in gazebo, leaves have transparency.
If I turned off transparent view, I got the last picture, but I want to add transparency to black area.
How do I insert leaves in gazebo as in Blender.
Asked by 283pm on 2020-12-08 01:15:40 UTC
Answers
Hi,
You'll want your transparency map stored in the alpha channel but you don't want to save the file as a transparent image. A good plugin for this for photoshop is SuperPNG. You'll see a dialog like this and you'll want to make sure "Alpha" is checked.
Asked by Cole on 2020-12-18 13:50:09 UTC
Comments
you can take a look at the oak_tree
model as example:
https://github.com/osrf/gazebo_models/tree/master/oak_tree
It uses a material with a pass that sets the alpha_rejection param: https://github.com/osrf/gazebo_models/blob/master/oak_tree/materials/scripts/oak_tree.material#L9
Asked by iche033 on 2020-12-18 14:26:48 UTC
Comments