Ver código fonte

fixed default occlusion

ncannasse 7 anos atrás
pai
commit
556dd9b5fb
1 arquivos alterados com 1 adições e 1 exclusões
  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();
 		super();
 		this.metalness = metalness;
 		this.metalness = metalness;
 		this.roughness = roughness;
 		this.roughness = roughness;