Revision d2aee6cc
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
72 | 72 |
if( mRoot!=null ) |
73 | 73 |
{ |
74 | 74 |
DistortedFramebuffer fbo = mRoot.getFramebuffer(); |
75 |
fbo.enableDepthAttachment(depth);
|
|
75 |
fbo.enableDepth(depth); |
|
76 | 76 |
} |
77 | 77 |
} |
78 | 78 |
|
Also available in: Unified diff
1. Make it possible to enable/disable DEPTH test when rendering to a Screen
2. Using this, remove the 'Root' Node from StarWars.