JME uses a separate Z order to determine how to sort ortho geometry.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3836 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-02-06 02:33:16 +00:00
parent 6f90df64f8
commit e9be71fdf2
@@ -60,7 +60,8 @@ public class FadeInOutEffect extends Quad
DisplaySystem ds = DisplaySystem.getDisplaySystem();
float width = ds.getWidth(), height = ds.getHeight();
initialize(width, height);
setLocalTranslation(new Vector3f(width/2, height/2, overUI ? 1f : -1f));
setLocalTranslation(new Vector3f(width/2, height/2, 0f));
setZOrder(overUI ? -1 : 1);
setDefaultColor(_color);
AlphaState astate = ds.getRenderer().createAlphaState();