@Override public void render(final Renderable renderable) { if (!renderable.material.has(BlendingAttribute.Type)) { context.setBlending(false, GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA); } else { context.setBlending(true, GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA); } super.render(renderable); }
@Override public void render(final Renderable renderable, final Attributes combinedAttributes) { super.render(renderable, combinedAttributes); }
@Override public void begin(final Camera camera, final RenderContext context) { super.begin(camera, context); context.setDepthTest(GL20.GL_LEQUAL); context.setCullFace(GL20.GL_BACK); }
@Override public void end() { super.end(); }