Revision d5ae6877
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/stencil/StencilRenderer.java | ||
---|---|---|
111 | 111 |
///////////////// The Meat of this App - shamelessly ripped off https://open.gl/depthstencils /////////////////////// |
112 | 112 |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
113 | 113 |
// Stuff to do just before we render the upper Cube |
114 |
// Nothing - i.e. use default OpenGL settings (one difference - in DistortedLibrary, Depth Test is on by default). |
|
114 |
// Nothing - i.e. use default OpenGL dialog_settings (one difference - in DistortedLibrary, Depth Test is on by default).
|
|
115 | 115 |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
116 | 116 |
// Stuff to do just before we render the Floor |
117 | 117 |
mFloorNode.glEnable(GLES31.GL_STENCIL_TEST); // Enable Stencil when rendering this Node |
Also available in: Unified diff
Making the Dialogs more consistent.