Explorar o código

Disable stencil buffer by default

WestLangley %!s(int64=5) %!d(string=hai) anos
pai
achega
eb03a9ccfa

+ 1 - 1
docs/api/en/renderers/WebGLCubeRenderTarget.html

@@ -42,7 +42,7 @@
 		[page:Number anisotropy] - default is *1*. See [page:Texture.anistropy]<br />
 		[page:Constant encoding] - default is [page:Textures LinearEncoding]. <br />
 		[page:Boolean depthBuffer] - default is *true*. Set this to false if you don't need it. <br />
-		[page:Boolean stencilBuffer] - default is *true*. Set this to false if you don't need it.<br /><br />
+		[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
 
 		Creates a new [name]
 		</p>

+ 1 - 1
docs/api/zh/renderers/WebGLCubeRenderTarget.html

@@ -39,7 +39,7 @@
 		[page:Number anisotropy] - 默认是 *1*. 参见[page:Texture.anistropy]<br />
 		[page:Constant encoding] - 默认是[page:Textures LinearEncoding]. <br />
 		[page:Boolean depthBuffer] - 默认是*true*.如果不需要就设为false <br />
-		[page:Boolean stencilBuffer] - 默认是*true*.如果不需要就设为false<br /><br />
+		[page:Boolean stencilBuffer] - default is *false*. Set this to true if you need it.<br /><br />
 
 		创建一个新[name]
 		</p>