瀏覽代碼

Skin.showJoints: use "alpha" instead of "overlay", which is only present on PBR renderer

trethaller 2 年之前
父節點
當前提交
b54c704a85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/scene/Skin.hx

+ 1 - 1
h3d/scene/Skin.hx

@@ -262,7 +262,7 @@ class Skin extends MultiMaterial {
 			if( jointsGraphics == null ) {
 				jointsGraphics = new Graphics(this);
 				jointsGraphics.material.mainPass.depth(false, Always);
-				jointsGraphics.material.mainPass.setPassName("overlay");
+				jointsGraphics.material.mainPass.setPassName("alpha");
 			}
 			var topParent : Object = this;
 			while( topParent.parent != null )