|
|
@@ -44,6 +44,8 @@ class Renderer {
|
|
|
const {
|
|
|
logarithmicDepthBuffer = false,
|
|
|
alpha = true,
|
|
|
+ depth = true,
|
|
|
+ stencil = false,
|
|
|
antialias = false,
|
|
|
samples = 0,
|
|
|
getFallback = null
|
|
|
@@ -72,8 +74,8 @@ class Renderer {
|
|
|
|
|
|
this.sortObjects = true;
|
|
|
|
|
|
- this.depth = true;
|
|
|
- this.stencil = false;
|
|
|
+ this.depth = depth;
|
|
|
+ this.stencil = stencil;
|
|
|
|
|
|
this.clippingPlanes = [];
|
|
|
|