The current AlphaMaskMethod is broken in the current release (v4.1.6).
Of course we found out about the "undocumented" requirement of material.alphaBlending = true , but that was not enough.
Digging further, we managed to get it working forcing material.preserveAlpha=false in ShaderCompiler.compileMethods(), based on a post in the forum: http://away3d.com/forum/viewthread/4021/
Although the above hack makes the method work as intended, we still have the already known alphaBlending z-order problem...
The current AlphaMaskMethod is broken in the current release (v4.1.6).
Of course we found out about the "undocumented" requirement of material.alphaBlending = true , but that was not enough.
Digging further, we managed to get it working forcing material.preserveAlpha=false in ShaderCompiler.compileMethods(), based on a post in the forum: http://away3d.com/forum/viewthread/4021/
Although the above hack makes the method work as intended, we still have the already known alphaBlending z-order problem...