Browse Source

fixed default occlusion

ncannasse 7 years ago
parent
commit
556dd9b5fb
1 changed files with 1 additions and 1 deletions
  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;