release notes
release notes
release notes
Published 6/27/2020
Contains breaking changesrelease notes
Published 6/27/2020
Contains breaking changeshttps://github.com/mrdoob/three.js/wiki/Migration-Guide#r117--r118 https://github.com/mrdoob/three.js/milestone/31?closed=1
(626,280 KB, gzip: 156,063 KB)
Source
let and const. #19490, #19499, #19503, #19504, d6792689ea7cbe13a21d0f967f3d75901f27bafc (@Mugen87, @mrdoob).toJSON(). #19528, #19536, #19538 (@Mugen87).clone(). #19539 (@Mugen87).computeVertexNormals(). #19600 (@Mugen87)Vector3.fromBufferAttribute() in .normalizeNormals(). #19610 (@Mugen87)none by default. 7e5d14894e6ef57007faf5903d713b85c97801ef (@mrdoob)NoToneMapping. #19651 (@WestLangley)SphericalReflectionMapping. #19517 (@WestLangley)toneMappingWhitePoint. #19601 (@mrdoob)Uncharted2ToneMapping. #19606 (@mrdoob)CustomToneMapping. #19707 (@mrdoob)WebGL1Renderer. #19647 (@Mugen87)null when using .setAnimationLoop(). #19695 (@Mugen87)pixelStorei properties in .copyTextureToTexture(). #19710 (@felixpalmer)Documentation
How to run things locally guide. #19505 (@Fasani)DataTexture2DArray page. #19582 (@gero3)Box3 page. #19572 (@evanharwin)CatmullRomCurve3 page. #19516 (@rjanicek)ExtrudeBufferGeometry page. #19685 (@rjanicek)Ray page. #19497 (@Seprum)Scene page. #19515 (@nstringham)combine usage in material browser. #19594 (@rotoglup)AmbientLightProbe page. #19675 (@gero3)HemisphereLightProbe page. #19684 (@gero3)Material.stencilWrite. #19692 (@gkjohnson)Installation section for ES Module migration. #19622, #19728 (@donmccurdy)TypeScript
Triangle.d.ts. #19509 (@linbingquan)InstancedMesh generics declaration. #19502 (@xawill)Stats.Panel(). #19573 (@marquizzo)Object3D as first argument in WebGLRenderer.render(). #19564 (@martinRenou)Material to ShaderMaterial in ShaderPass. #19721 (@jhlee4)WebGL1Renderer to Typescript definitions. #19729 (@subblue)Examples
copy() in CSS2DObject and CSS3DObject. #19587 (@Mugen87)ownerDocument in controls classes. #19682 (@gero3)webgl_animation_cloth example. #19683 (@gero3)physics_cannon_instancing example. #19686 (@Mugen87)misc_uv_tests example. b2eaf43e202d92ef3ea5f122cdbf44a0e501f67a (@mrdoob)webgl_shaders_ocean example. d783da4013a9738df00ed069c2a04078344c4ec7 (@mrdoob)webgl_materials_car example. 7841862a1caa02eea2b37361f160f993f499a5a8 (@mrdoob)webgl_materials_car example. 0b8e3d82cc4519d46eab855e6d1367bd5dcea2b1 (@mrdoob)webgl_performance_doublesided example. bd487a876f5b07aa9a6b8c49554593f24d16157f (@mrdoob).encoding to match WebGLRenderer.outputEncoding for Reflector and Refractor. 34fe461e2dd0fdaa18fd4271bb5f5965fb850144 (@mrdoob)HelioWebXRPolyfill. f60a0eb7c8192106930631d07727c178c95aac66 (@mrdoob)RoomEnvironment. 56c1c0158fd8dba0aa17da8ced9ec6796d4f7fe5 (@mrdoob)CameraControls. #19747 (@yushijinhun)BasisTextureLoader
EXRLoader
v3f attribute type. #19591 (@WestLangley)GLTFLoader
MeshSurfaceSampler
OrbitControls
screenSpacePanning to true by default. #19602 (@WestLangley)PointerLockControls
Sky
TransformControls
ToneMapping. 300f8281334a1fe2117c0f5d9cf4beb0e88f90ba (@mrdoob)Water
XRControllerModelFactory
Editor
Sidebar.Project. 94ac6fb206023173775b579add21c366cfa7ee64, e37cb98eb0dbc3b4659899b1121faa4dd9094b45, 851dd14f06879e024de3ce90689a1e41bbd7a0f2 (@mrdoob)Sidebar.Scene's objectChanged code. 505762636104b4e414f41b338fa72adec78096cd (@mrdoob)normalBias support. 6ed64942afb5e57f4bc1fb42cef66c5932cbb9c8 (@mrdoob)EditorControls when camera is not editor.camera. 521a8ca495abd8dcbe5437e4ba58a520dc91f825 (@mrdoob)shadow.bias input. 06c3353dc37ed95540832906de77234cb6c631c0 (@mrdoob)sw.js. 26179dfd1fddbef4a36e455bbed5004b52db6a98 (@mrdoob)depthWrite false. 08d8d145c0b0aff2f17ffb721070675bfaf4634a (@mrdoob)Tests
AnimationMixer.stopAllAction(). #19508 (@DsRQuicke)https://github.com/mrdoob/three.js/wiki/Migration-Guide#r117--r118 https://github.com/mrdoob/three.js/milestone/31?closed=1
(626,280 KB, gzip: 156,063 KB)
Source
let and const. #19490, #19499, #19503, #19504, d6792689ea7cbe13a21d0f967f3d75901f27bafc (@Mugen87, @mrdoob).toJSON(). #19528, #19536, #19538 (@Mugen87).clone(). #19539 (@Mugen87).computeVertexNormals(). #19600 (@Mugen87)Vector3.fromBufferAttribute() in .normalizeNormals(). #19610 (@Mugen87)none by default. 7e5d14894e6ef57007faf5903d713b85c97801ef (@mrdoob)NoToneMapping. #19651 (@WestLangley)SphericalReflectionMapping. #19517 (@WestLangley)toneMappingWhitePoint. #19601 (@mrdoob)Uncharted2ToneMapping. #19606 (@mrdoob)CustomToneMapping. #19707 (@mrdoob)WebGL1Renderer. #19647 (@Mugen87)null when using .setAnimationLoop(). #19695 (@Mugen87)pixelStorei properties in .copyTextureToTexture(). #19710 (@felixpalmer)Documentation
How to run things locally guide. #19505 (@Fasani)DataTexture2DArray page. #19582 (@gero3)Box3 page. #19572 (@evanharwin)CatmullRomCurve3 page. #19516 (@rjanicek)ExtrudeBufferGeometry page. #19685 (@rjanicek)Ray page. #19497 (@Seprum)Scene page. #19515 (@nstringham)combine usage in material browser. #19594 (@rotoglup)AmbientLightProbe page. #19675 (@gero3)HemisphereLightProbe page. #19684 (@gero3)Material.stencilWrite. #19692 (@gkjohnson)Installation section for ES Module migration. #19622, #19728 (@donmccurdy)TypeScript
Triangle.d.ts. #19509 (@linbingquan)InstancedMesh generics declaration. #19502 (@xawill)Stats.Panel(). #19573 (@marquizzo)Object3D as first argument in WebGLRenderer.render(). #19564 (@martinRenou)Material to ShaderMaterial in ShaderPass. #19721 (@jhlee4)WebGL1Renderer to Typescript definitions. #19729 (@subblue)Examples
copy() in CSS2DObject and CSS3DObject. #19587 (@Mugen87)ownerDocument in controls classes. #19682 (@gero3)webgl_animation_cloth example. #19683 (@gero3)physics_cannon_instancing example. #19686 (@Mugen87)misc_uv_tests example. b2eaf43e202d92ef3ea5f122cdbf44a0e501f67a (@mrdoob)webgl_shaders_ocean example. d783da4013a9738df00ed069c2a04078344c4ec7 (@mrdoob)webgl_materials_car example. 7841862a1caa02eea2b37361f160f993f499a5a8 (@mrdoob)webgl_materials_car example. 0b8e3d82cc4519d46eab855e6d1367bd5dcea2b1 (@mrdoob)webgl_performance_doublesided example. bd487a876f5b07aa9a6b8c49554593f24d16157f (@mrdoob).encoding to match WebGLRenderer.outputEncoding for Reflector and Refractor. 34fe461e2dd0fdaa18fd4271bb5f5965fb850144 (@mrdoob)HelioWebXRPolyfill. f60a0eb7c8192106930631d07727c178c95aac66 (@mrdoob)RoomEnvironment. 56c1c0158fd8dba0aa17da8ced9ec6796d4f7fe5 (@mrdoob)CameraControls. #19747 (@yushijinhun)BasisTextureLoader
EXRLoader
v3f attribute type. #19591 (@WestLangley)GLTFLoader
MeshSurfaceSampler
OrbitControls
screenSpacePanning to true by default. #19602 (@WestLangley)PointerLockControls
Sky
TransformControls
ToneMapping. 300f8281334a1fe2117c0f5d9cf4beb0e88f90ba (@mrdoob)Water
XRControllerModelFactory
Editor
Sidebar.Project. 94ac6fb206023173775b579add21c366cfa7ee64, e37cb98eb0dbc3b4659899b1121faa4dd9094b45, 851dd14f06879e024de3ce90689a1e41bbd7a0f2 (@mrdoob)Sidebar.Scene's objectChanged code. 505762636104b4e414f41b338fa72adec78096cd (@mrdoob)normalBias support. 6ed64942afb5e57f4bc1fb42cef66c5932cbb9c8 (@mrdoob)EditorControls when camera is not editor.camera. 521a8ca495abd8dcbe5437e4ba58a520dc91f825 (@mrdoob)shadow.bias input. 06c3353dc37ed95540832906de77234cb6c631c0 (@mrdoob)sw.js. 26179dfd1fddbef4a36e455bbed5004b52db6a98 (@mrdoob)depthWrite false. 08d8d145c0b0aff2f17ffb721070675bfaf4634a (@mrdoob)Tests
AnimationMixer.stopAllAction(). #19508 (@DsRQuicke)