ソースを参照

Fix Texture2 having a reference to old pass.params

Aaron Santiago 9 年 前
コミット
44e4b0c3af
1 ファイル変更1 行追加1 行削除
  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) {
 	public function new(?tex) {
 		super();
 		super();
 		this.texture = tex;
 		this.texture = tex;
-		this.killAlphaThreshold = h3d.pass.Params.defaultKillAlphaThreshold;
+		this.killAlphaThreshold = h3d.mat.Defaults.defaultKillAlphaThreshold;
 	}
 	}
 
 
 }
 }