浏览代码

fixed default occlusion

ncannasse 7 年之前
父节点
当前提交
556dd9b5fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/shader/pbr/PropsValues.hx

+ 1 - 1
h3d/shader/pbr/PropsValues.hx

@@ -22,7 +22,7 @@ class PropsValues extends hxsl.Shader {
 
 	};
 
-	public function new(metalness=0.,roughness=1.,occlusion=0.) {
+	public function new(metalness=0.,roughness=1.,occlusion=1.) {
 		super();
 		this.metalness = metalness;
 		this.roughness = roughness;