@@ -123,7 +123,7 @@ export class URDFRenderer extends THREE.WebGLRenderer {
123123 * Adds three lights to the scene
124124 */
125125 private _addLights ( ) : void {
126- const directionalLight = new THREE . DirectionalLight ( 0xffffff , 1.0 ) ;
126+ const directionalLight = new THREE . DirectionalLight ( 0xff0000 , 1.0 ) ;
127127 directionalLight . castShadow = true ;
128128 directionalLight . position . set ( 3 , 10 , 3 ) ;
129129 directionalLight . shadow . camera . top = 2 ;
@@ -132,12 +132,12 @@ export class URDFRenderer extends THREE.WebGLRenderer {
132132 directionalLight . shadow . camera . right = 2 ;
133133 directionalLight . shadow . camera . near = 0.1 ;
134134 directionalLight . shadow . camera . far = 40 ;
135- this . _scene . add ( directionalLight ) ;
135+ // this._scene.add(directionalLight);
136136
137- const ambientLight = new THREE . AmbientLight ( '#fff ' ) ;
138- ambientLight . intensity = 0.5 ;
137+ const ambientLight = new THREE . AmbientLight ( '#ff0000 ' ) ;
138+ ambientLight . intensity = 1 ;
139139 ambientLight . position . set ( 0 , 5 , 0 ) ;
140- this . _scene . add ( ambientLight ) ;
140+ // this._scene.add(ambientLight);
141141
142142 const hemisphereLight = new THREE . HemisphereLight (
143143 this . _colorSky ,
0 commit comments