Explorar el Código

fixed default env params

Nicolas Cannasse hace 5 años
padre
commit
68d7675503
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      h3d/scene/pbr/Environment.hx

+ 2 - 2
h3d/scene/pbr/Environment.hx

@@ -193,8 +193,8 @@ class Environment  {
 
 	public var power : Float = 1.;
 	public var rot : Float = 0.;
-	public var threshold : Float;
-	public var scale : Float;
+	public var threshold : Float = 0.;
+	public var scale : Float = 1.;
 
 	/*
 		Source can be cube map already prepared or a 2D equirectangular map that