https://github.com/mrdoob/three.js/wiki/Migration-Guide#r119--r120
https://github.com/mrdoob/three.js/milestone/33?closed=1
(642,741 KB, gzip: 160,428 KB)
Source
- Global
- Move to ES6 classes. #19980, #19977, #19964, #19978, #19976, #19979, #19984, #19975, #19982, #19996, #19994, #20003, #20023, #19997, #20076, #20007, #20089, #20110 (@ianpurvis, @DefinitelyMaybe, @linbingquan, @Mugen87, @yomotsu, @marcofugaro)
- Preserve sourcemaps in rollup transforms. #19981 (@donmccurdy)
- Move some variables from
let
toconst
. #19970 (@DefinitelyMaybe) - Clean up. #19956, #19987, #20119, #20152, #20185, #20181, c056218, 8bb0572, d798868 (@linbingquan, @WestLangley, @mrdoob)
- AnimationUtils
- Audio
- Initialize
source
withnull
. #20073 (@takahirox) - Introduce
_connected
flag to fix.setFilters()
bug. #20093 (@takahirox)
- Initialize
- GLBufferAttribute
- InstancingMesh
- LightShadow
- MaterialLoader
- Quaternion
- RoughnessMipmapper
- Scene
- ShaderMaterial
- WebGLBindingStates
- Check if
cachedAttribute
isundefined
. #20056 (@greggman) - Add
index
to cache. #20045 (@shawn0326)
- Check if
- WebGLClipping
- WebGLExtension
- WebGLMaterials
- Added clearcoat maps to the uv offset/repeat priorities. #20178 (@WestLangley)
- WebGLPrograms
- WebGLProgram
- Make loop unrolling whitespace-insensitive. #20012, #20163 (@DavidPeicho, @yushijinhun)
- WebGLRenderer
- Add support for equirectangular to cube env map conversion. #19911, #20043, #20044, #20048, #20081, #20085, #20113 (@mrdoob, @WestLangley, @Mugen87)
- Make uniforms handling of
RectAreaLight
more consistent. #20078 (@Mugen87) - Remove superfluous program check in
setProgram()
. #20097 (@Mugen87) - Remove unused parameter when calling
getUniforms()
. #20123 (@Mugen87) - Remove obsolete code from
initMaterial()
. #20124, #20151 (@Mugen87)
- WebGLRenderTarget
- Disable stencil buffer by default. #19926, #20117, #20118 (@WestLangley)
- WebXRController
- Fix bug when updating joints without requesting a hand. #19983 (@fernandojsg)
Documentation
- Improved
Object3D
page. #19993 (@WestLangley) - Remove outdated examples of
ArrowHelper
. #20004 (@Methuselah96) - Add arabic localization. #20075, #20079, #20088, #20098, #20106, #20121, #20134, #20137, #20149, #20154, #20172, #20176, #20164, 717cb0d, 81bdcca (@hassanMuhamad, @mrdoob)
- Improved Chinese localization. #20040 (@gogoend)
- Fix broken links to transmission example. #20092 (@donmccurdy)
- Improved
DepthTexture
page. #20107 (@Mugen87) - Improved
Loading 3D models
guide. #19968 (@donmccurdy) - Improved
CubeCamera
page. #20169 (@martinRenou)
TypeScript
- Fix optional method arguments in
NodeBuilder
. #19963 (@martinRenou) - Fix optional material parameters in
MeshPhysicalMaterial.d.ts
. #20017 (@FishOrBear) - Added
@default
values. #20036 (@dmnsgn) - Extend object classes with generic types. #20133 (@Berthur)
- Use a variable instead of an interface for
DepthLimitedBlurShader.BlurShaderUtils
. #20173 (@twastvedt) - Fix types for
Line2
. #20165 (@giulioz)
Examples
- Clean up. #20015, #20077, a5c63ac, f119b45, 2199be4 (@linbingquan, @Mugen87, @mrdoob)
- Implemented instanced colors in
webgl_loader_vox
example. #19949 (@mrdoob) - Added
webgl2_volume_instancing
example. #19992 (@mrdoob) - Update
chevrotain
module. #20027 (@Mugen87) - Added
onWindowResize()
callback to CSS3D examples. #20068 (@WestLangley) - Properly specify texture
sRGB
encoding. #19800 (@WestLangley) - Disable alpha buffer when not required. #20116 (@WestLangley)
- Fix minor search bugs. #20122 (@Mugen87)
- Fixes controls in
webgl_materials_modified
example. #20162 (@gsimone) - Adds
change
event toDeviceOrientationControls
andFlyControls
. #19924 (@gsimone) - Improved
webgl_loader_3ds
example. b8898cc (@mrdoob) - Improved
webgl_materials_variations_toon
example. 062fa1b (@mrdoob) - Improved
webgl_instancing_raycast
example. b07f3df (@mrdoob) - Updated ammo.js. 9e2cea0 (@mrdoob)
- Removed
physics_cannon_instancing
. 23f40de (@mrdoob) - Added
onWindowResize()
tocss2d_label
example. #20175 (@WestLangley) - Added
webxr_vr_haptics
example. #20000 (@fernandojsg) - Added
webgl2_volume_cloud
example. 4020fd0 (@mrdoob) - Fixed controls in
webgl_materials_modified
example. #20162 (@gsimone) - Adds
EventDispatcher
andchange
event toDeviceOrientationControls
andFlyControls
. #19924 (@gsimone) - Fix controls in
webgl_decals
example. 2b477f0 (@mrdoob) - Fix controls in
webgl_multiple_scenes_comparison
. #20223 (@Mugen87)
-
AmmoPhysics
-
ColladaExporter
-
EXRLoader
-
FlyControls
- Removed unnecessary computation. #20186 (@WestLangley)
-
GLTFLoader
- Set
.format=RGBFormat
only when there is no alpha channel. #18843 (@donmccurdy) - Fix regression unnecessarily choosing
MeshPhysicalMaterial
. #20053 (@donmccurdy)
- Set
-
KTX2Loader
-
MMDLoader
-
NodeMaterial
-
OrbitControls
-
Rhino3dmLoader
-
TGALoader
-
TrackballControls
-
TransformControls
Editor
- Improved Chinese localization. #20103 (@linbingquan)
- Added
Slot
tostring.js
. #20104 (@linbingquan) - Added 3dm import. #20148 (@fraguada)
- Removed
Minify Shaders
option. 64f3162 (@mrdoob) - Fixed grid colors in dark mode. 14f4ae1 (@mrdoob)
- Implemented Pointer Events in
EditorControls
. e55b718, 675e990 (@mrdoob) - Remove usage of
glslprep
fromScript.js
. #20201 (@Mugen87) - Do not enforce sRGB color space for
DataTexture
. #20214 (@Mugen87)
Tests
- Minor cleanup of E2E setup. #20125 (@munrocket)