Browse Source

fixed default env params

Nicolas Cannasse 5 năm trước cách đây
mục cha
commit
68d7675503
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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