# Revision history [back]

### 3D .STL add material -> Model not visible

Hey,

I've a working xacro robot for Gazebo. I'm using a .STL-file for the 3d Mesh. Everything is working good so far. Now I want to make it look a bit better and tryed everything for a few days to get any material working in gazebo. The same issue all the time. My 3D Mesh is no longer displayed when I try to ad a material

<xacro:if value="\${hq}">
<geometry>
<mesh filename="package://xxx_description/meshes/xxx.stl" scale="0.001 0.001 0.001"/>
</geometry>
<material> <!-- TEST -->
<ambient>0.1 0.1 0.1 1</ambient>
<diffuse>0.1 0.1 0.2 1</diffuse>
<specular>0 0 0 0</specular>
<emissive>0 0 0 1</emissive>
</material> <!-- TEST -->
</xacro:if>


Any idea how I can solve this problem?