示例#1
0
  static {
    depthOnly.setDepthTest(true);
    depthOnly.setDepthWrite(true);
    depthOnly.setFaceCullMode(RenderState.FaceCullMode.Back);
    depthOnly.setColorWrite(false);

    additiveLight.setBlendMode(RenderState.BlendMode.AlphaAdditive);
    additiveLight.setDepthWrite(false);
  }