Set depth buffer and alpha modes Appearance app = new Appearance( ); RenderingAttributes ra = new RenderingAttributes( ); ra.setDepthBufferEnable( true ); ra.setalphaTestFunction( RenderingAttributes.ALWAYS ); app.setRenderingAttributes( ra );
Appearance app = new Appearance( ); RenderingAttributes ra = new RenderingAttributes( ); ra.setDepthBufferEnable( true ); ra.setalphaTestFunction( RenderingAttributes.ALWAYS ); app.setRenderingAttributes( ra );