Explorar o código

Fix Texture2 having a reference to old pass.params

Aaron Santiago %!s(int64=9) %!d(string=hai) anos
pai
achega
44e4b0c3af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/shader/Texture2.hx

+ 1 - 1
h3d/shader/Texture2.hx

@@ -36,7 +36,7 @@ class Texture2 extends hxsl.Shader {
 	public function new(?tex) {
 		super();
 		this.texture = tex;
-		this.killAlphaThreshold = h3d.pass.Params.defaultKillAlphaThreshold;
+		this.killAlphaThreshold = h3d.mat.Defaults.defaultKillAlphaThreshold;
 	}
 
 }