ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After some troubleshooting, it turns out that lighting direction was not the problem - it was the default ambient light colour. I therefore solved this problem by changing the colour of the ambient light to white using three.js. Here's my code snippet:

viewer.scene.add(new THREE.AmbientLight(0xffffff));