소스 검색

fixed default env params

Nicolas Cannasse 5 년 전
부모
커밋
68d7675503
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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