Explorar el Código

Update WebGLRenderer.js

Fix typo.
Michael Herzog hace 2 años
padre
commit
50f7daa582
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/WebGLRenderer.js

+ 1 - 1
src/renderers/WebGLRenderer.js

@@ -1419,7 +1419,7 @@ class WebGLRenderer {
 					type: ( extensions.has( 'EXT_color_buffer_half_float' ) || extensions.has( 'EXT_color_buffer_float' ) ) ? HalfFloatType : UnsignedByteType,
 					type: ( extensions.has( 'EXT_color_buffer_half_float' ) || extensions.has( 'EXT_color_buffer_float' ) ) ? HalfFloatType : UnsignedByteType,
 					minFilter: LinearMipmapLinearFilter,
 					minFilter: LinearMipmapLinearFilter,
 					samples: 4,
 					samples: 4,
-					stencil: stencil
+					stencilBuffer: stencil
 				} );
 				} );
 
 
 				// debug
 				// debug

粤ICP备19079148号