Gazebo | Ignition | Community
Ask Your Question

How to add texture to my dae file without transparency.

asked 2020-12-08 00:15:40 -0500

283pm gravatar image


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.

in blender texturein gazebo image description

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-12-18 13:26:48 -0500

iche033 gravatar image

you can take a look at the oak_treemodel as example:

It uses a material with a pass that sets the alpha_rejection param:

edit flag offensive delete link more

answered 2020-12-18 12:50:09 -0500

Cole gravatar image


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.

image description

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-12-08 00:15:40 -0500

Seen: 733 times

Last updated: Dec 18 '20