Explorar o código

remove default light intensity change

Nicholas Barlow %!s(int64=6) %!d(string=hai) anos
pai
achega
7948d69d9f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      nodeEditor/src/components/preview/previewManager.ts

+ 0 - 1
nodeEditor/src/components/preview/previewManager.ts

@@ -105,7 +105,6 @@ export class PreviewManager {
         // Light
         if (!this._scene.lights.length) {
             this._light = new HemisphericLight("light", new Vector3(0, 1, 0), this._scene);
-            this._light.intensity = 0.7; // dim the light a bit similar to the default playground.
         }
 
         // Framing