Revision d5ae6877
Added by Leszek Koltunski almost 5 years ago
src/main/java/org/distorted/examples/generic/GenericEffect.java | ||
---|---|---|
99 | 99 |
private long mId; |
100 | 100 |
|
101 | 101 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
102 |
// requires knowledge about effect nature |
|
102 |
// requires knowledge dialog_about effect nature
|
|
103 | 103 |
|
104 | 104 |
void apply(DistortedEffects effects) |
105 | 105 |
{ |
... | ... | |
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
146 |
// requires knowledge about effect nature |
|
146 |
// requires knowledge dialog_about effect nature
|
|
147 | 147 |
|
148 | 148 |
private void fillStatics() |
149 | 149 |
{ |
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.