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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user