Revision history [back]

gazebo5 specular in material does not work !

this is my sdf file.

and I expect my ball would reflect blue specular light

but nothing happened,It just appear whole dark

what am I doing wrong??

thanks!

<model name='socket'>
<pose> 0 0 0 0 0 0 </pose>
<collision name="collision">
<geometry>
<sphere>
</sphere>
</geometry>
</collision>
<visual name="visual">
<material>
<ambient>0 0 0 1</ambient>
<diffuse>0 0 0 1</diffuse>
<specular>0 0 1 1</specular>
</material>
<geometry>
<sphere>
</sphere>
</geometry>
</visual>
</model>


gazebo5 specular in material does not work !

this is my sdf file.

and I expect my ball would reflect blue specular light

but nothing happened,It just appear appears whole dark

what am I doing wrong??

thanks!

<model name='socket'>
<pose> 0 0 0 0 0 0 </pose>
<collision name="collision">
<geometry>
<sphere>
</sphere>
</geometry>
</collision>
<visual name="visual">
<material>
<ambient>0 0 0 1</ambient>
<diffuse>0 0 0 1</diffuse>
<specular>0 0 1 1</specular>
</material>
<geometry>
<sphere>