Project

General

Profile

« Previous | Next » 

Revision b4cbe056

Added by Leszek Koltunski over 1 year ago

Disable writing DEPTH and STENCIL to the Screen from both the TwistyObjectNode and the Overlay Node.

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
47 47
        mCreated = true;
48 48
        mObjectController.createNode(width,height);
49 49
        TwistyObjectNode objectNode = mObjectController.getNode();
50
        objectNode.glDepthMask(false);
51
        objectNode.glStencilMask(0);
50 52
        mRenderer.getScreen().attach(objectNode);
51 53
        }
52 54
      }

Also available in: Unified diff