Parcourir la source

default ambient to 0.5

Nicolas Cannasse il y a 11 ans
Parent
commit
4e43da5822
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      h3d/pass/LightSystem.hx

+ 1 - 1
h3d/pass/LightSystem.hx

@@ -17,7 +17,7 @@ class LightSystem {
 		this.globals = globals;
 		initGlobals();
 		cachedShaderList = [];
-		ambientLight = new h3d.Vector(1, 1, 1);
+		ambientLight = new h3d.Vector(0.5, 0.5, 0.5);
 		ambientShader = new h3d.shader.AmbientLight();
 	}