Explorar o código

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

trethaller %!s(int64=2) %!d(string=hai) anos
pai
achega
b54c704a85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 )