https://github.com/mrdoob/three.js/wiki/Migration-Guide#r127--r128
https://github.com/mrdoob/three.js/milestone/41?closed=1
- Global
- More usage of ES6 features. #21546, #21622, #21623, #21624, #21625, #20016, #21628, #21635, #21643, #21646, #21648, #21662 (@linbingquan, @Mugen87, @ianpurvis, @john-keith)
- Add
build-examples
script. #21584, #21587, #21588, #21591, #21677 (@marcofugaro, @gkjohnson) - Remove more deprecated methods to improve tree-shaking. #21649 (@marcofugaro)
- Improve ES6 toolchain. #21650, #21657, #21678 (@marcofugaro)
- Rename
test-lint
npm script tolint
. #21652 (@marcofugaro)
- Color
- DataTexture2DArray/3D
- Helpers
- Material
- MathUtils
- Refactor code to allow for tree-shaking. #21651, a7b8ed2 (@marcofugaro, @mrdoob)
- WebGLRenderer
- WebGLTexture
- WebXRController
- WebXRManager
- Get linear/angular velocity for targetRay and grip poses if available. #21524, b82d7bd (@davehill00, @mrdoob)
- XRHandPrimitiveModel
Documentation
- Improved
SkinnedMesh
page. #21561 (@prominentdetail) - Improved
TrackballControls
page. #21703 (@mrdoob) - Improved
WebGLRenderer
page. #21637 (@yomboprime) - Added
five-server
to the docs. #21550 (@yandeu)
Examples
- Clean up. #21552, #21566, #21664, #21671, #21684, #21688, #21704, 96971a6, 1912046 (@Mugen87, @marcofugaro, @mrdoob)
- Convert codebase to ES6. #21563, #21583, #21585, #21586, #21589, #21592, #21593, #21597, #21596, #21598, #21599, #21600, #21601, #21604, #21605, #21611, #21610, #21612, #21614, #21616, #21618, #21619, #21621, #21620, #21629, #21632, #21630, #21645, #21644, #21653, #21658, #21660, #21680 (@Mugen87, @yomboprime, @tentone, @fraguada)
- Fix param
use2DLut
inwebgl_postprocessing_3dlut
example. #21613 (@kchapelier) - Removed
XLoader
. #21617 (@Mugen87) - Mark certain event listeners in controls as non-passive. #21642 (@puxiao, @WestLangley)
- Removed
onmousewheel
attribute inindex.html
. #21647 (@puxiao) - Update
fflate
version. #21669 (@gkjohnson) - Convert
jsm
files to use barethree
import before npm publish. #21654 (@gkjohnson) - Refactor
Sky
usage. #21681, #21575 (@Mugen87, @sirxemic) - Fix
webgl_gpgpu_birds
references error. #20675 (@gonnavis) - Bring
dat.gui
inside VR. #21700 (@mrdoob) - Use
RoomEnvironment
inwebgl_animation_keyframes
example. fe12f87 (@mrdoob) - Use
allow=""
attribute in<iframe>
. e041a2f (@mrdoob) - Removed
#webxr-hands
flag message. 5ed5390 (@mrdoob)
-
AmmoPhysics
-
GLTFLoader
- Fix incorrect boundingBox for normalized attributes. #21554 (@donmccurdy)
- Add
createNodeMesh()
hook. #21458 (@takahirox)
-
IFCLoader
-
KTX2Loader
- Update
ktx-parse
dependency, import enums. #21567 (@donmccurdy)
- Update
-
NodeMaterial
-
OBB
-
SSRPass
-
VRMLLoader
-
WebGPURenderer
Editor
- Use class syntax in
ViewHelper
. #21631 (@Mugen87) - Remove the default color value of
SpotLightHelper
. #21675 (@1993heqiang) - Fix equirect backgrounds. #21690 (@Mugen87)
- Use
networkFirst
insw.js
. 0b608ec (@mrdoob) - Only display video renderer when
SharedArrayBuffer
is available. 71ffae3 (@mrdoob) Signal
clean up. 0f418c7 (@mrdoob)- Save renderer changes automatically. 7c3d2f4 (@mrdoob)
- Empty project title on clear. e07eca4 (@mrdoob)
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r126--r127
https://github.com/mrdoob/three.js/milestone/40?closed=1
- Core
- More usage of ES6 features. #21407, #21545 (@beginor, @linbingquan)
- Add
test-treeshake
script. #21437 (@marcofugaro) - Remove some deprecated methods. #21450 (@marcofugaro)
- BufferAttribute
- Add
.name
,.usage
,.updateRange
serialization. #21279 (@takahirox)
- Add
- BufferGeometry
- EventDispatcher
- Remove target references after event dispatch. #18564 (@aardgoose)
- ImageUtils
- InstancedMesh
- Honor instanceColor in
.toJSON()
andObjectLoader
. #21486, 2f1fa4e (@Michael4d45, @mrdoob)
- Honor instanceColor in
- InterleavedBufferAttribute
- Line/Points
- Material
- MathUtils
- PointLightShadow
- Plane
- Quaternion
- Use
Number.EPSILON
in.setFromUnitVectors()
. #21484 (@Mugen87, @WestLangley) - Add
.slerpQuaternions()
, deprecate static.slerp()
. #21532 (@Mugen87)
- Use
- RoughnessMipmapper
- Sphere
- SpotLightShadow
- WebGLBackground
- WebGLRenderer
- Move invocation of
Scene.onAfterRender()
. #21362 (@Mugen87) - Add support for multiple programs per material. #20135 (@Mugen87)
- Refactor framebuffer state management. #21447, #21442, #21518 (@Mugen87)
- Release cache at the end of
.render()
. #14946 (@takahirox, @Mugen87) - Remove morph target properties. #21522 (@Mugen87)
- Do not run
window.rAF
when in XR. #21529 (@Mugen87)
- Move invocation of
- WebGLShadowMap
- WebGLState
- WebGLTextures
- Fix render texture re-uploaded on first use. #21455 (@DavidPeicho)
- WebGLUniforms
- Add unsigned vector array support for uniform. #21316 (@SuperSodaSea)
- WebXRController
Documentation
- Clean up. #21354, #21408, #21429, #21478, #21491 (@jj-plane, @Mugen87, @mcharytoniuk, @Vyse12138)
- Added
?q=
support. #21460 (@mrdoob) - Call
updateFilter()
only when?q=
is set. #21462 (@mrdoob) - Clarify restrictions of
Texture.offset
andrepeat
. #21473 (@Mugen87) - Started with Japanese translation. #21474 (@na2shell)
- Use
AudioNode
as type forAudio.filters
. #21523 (@Mugen87) - Improved material browser. 5a51f73, f9a3638, ec5926a, e5e3f06, e93bffa, 9fb402c, b50ebc8 (@mrdoob)
Examples
- Clean up. #21432, #21449, #21471, #21482, #21499, #21513, #21541, #21549, 160344f, 024cfe8, 98c0604, 795a26d, 0e8e043, 02f4dff (@Mugen87, @Dvvarf, @yomboprime, @mrdoob)
- Remove calls of
stopPropagation()
. #21348 (@Mugen87) - Adopt importmaps in WebGPU examples. #21364 (@mrdoob)
- Move type flags back to
prototype
. #21378 (@linbingquan) - Improved
webgl_materials_wireframe
demo. #21389, #21390, #21402, #21410 (@gkjohnson, @Mugen87, @mrdoob, @WestLangley) - Remove alpha option from
webgl_shaders_ocean.html
example. #21393 (@Mugen87) - Bump
MMDParser
lib to the latest one. #21397 (@takahirox) - Better show WebGL2 error messages. #21400 (@Mugen87)
- Removed
misc_legacy
example. #21417 (@mrdoob) - Add
webgl_shadowmap_progressive
example. #21435 (@zalo) - Remove
AssimpLoader
. #21459 (@Mugen87) - Fix color values in
webgl_materials_envmaps_parallax
example. #21363 (@1993heqiang) - Introduced
DebugEnvironment
. 34519f5 (@mrdoob) - More usage of Pointer Events. #21494, #21504 (@Oletus, @Mugen87)
- Fix pixel trails in
webgl_gpgpu_protoplanet
example. #21510 (@yomboprime) - Simplify
webgl2_rendertarget_texture2darray
example. #21520 (@Mugen87) - Replace
Event.keyCode
withEvent.code
. #21409 (@puxiao) - Add post processing fullscreen triangle optimization. #21358 (@trinketmage)
-
CSS2DRenderer
- Round values used for translation (Safari-only). #21416 (@simondate)
-
DeviceOrientationControls
-
DragControls
-
FunctionNode
-
IFCLoader
-
Line2
- Add support for Alpha To Coverage. #21451 (@gkjohnson)
-
LineSegments2
- Check bounding box and bounding sphere when raycasting. #21496 (@gkjohnson)
-
LUTPass
- Fix usage with WebGL1. #21531 (@gkjohnson)
-
MMDLoader
- Improve animation system for PMX. #21395, #21398 (@takahirox, @ingbunga)
-
OutlinePass
- Ensure
renderTargetDepthBuffer
is resized correctly. #21436 (@Julianouyang)
- Ensure
-
ReflectorForSSRPass
-
SSRPass
-
SSRrPass
-
SVGLoader
-
TGALoader
- Derive from
DataTextureLoader
. #21377 (@deepkolos)
- Derive from
-
Water
-
WebGPURenderer
Editor
- Clean up. c45fd20 (@mrdoob)
- Improved Chinese translation. #21374 (@linbingquan)
- Improved i18n. #21454 (@1993heqiang)
- Fixed
size
andsizeAttenuation
UI visibility handling. #21422 (@mrdoob) - Improved ShaderMaterial panel. #21423 (@mrdoob)
- Fixed grid depth glitches. #21430 (@mrdoob)
- Changed ffmpeg video quality setting. 3e79ce4 (@mrdoob)
- Reset time in
app.js
’s.start
() function. e4c5838 (@mrdoob) - Added modelviewer environment. b2dde29 (@mrdoob)
- Added
XRControllerModelFactory
tosw.js
. 84c4a6d (@mrdoob) - Improved video progress bar. 27def9d (@mrdoob)
- Implement cache per update. 412b99a (@mrdoob)
- Removed
3*
extensions fromLoader
. ca5f932 (@mrdoob) - Added IFC files support. #21551 (@mrdoob)
Tests
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r125--r126
https://github.com/mrdoob/three.js/milestone/39?closed=1
Source
- Global
- More usage of ES6 classes. #21206, #19985, #21229, #21235, #21232, #21231, #21266, #21285, #21293, #20013, #20100, #20102, #20014, #20009, #21319, #21327, #21342, e7ba155, 5df56b8, 6100437, 330b186, 81487f2, e9e9bcd (@mrdoob, @Mugen87, @DefinitelyMaybe, @linbingquan, @ianpurvis)
- Remove TypeScript type declaration files. #21174, #21197 (@mrdoob, @Mugen87)
- Remove obsolete code in
Three.Legacy.js
. #21181, #21219, #21310 (@Mugen87, @mrdoob) - Added
"sideEffects": false
inpackage.json
. #21313 (@mrdoob) - Removed
polyfills.js
. #21314, 0c81502 (@mrdoob) - Stop IE support. #21344, b4b24e3, d401181, 676115e (@mrdoob, @Mugen87)
- CubeCamera
- Simplify
update()
. #21331 (@linbingquan)
- Simplify
- Face3
- ImageBitmapLoader
- Add support for request headers. #21283 (@gkjohnson)
- Material
- Matrix3
- Mesh
- Check
Matrial.skinning
before applying bone transform inraycast()
. #20830 (@zach-capalbo)
- Check
- Object3D
- Fix world matrix update bug in
.attach()
. #20759 (@takahirox)
- Fix world matrix update bug in
- Quaternion
- Raycaster
- SkinnedMesh
- UniformUtils
- WebGLCubeRenderTarget
- WebGLRenderer
- Add workaround for Adreno GPUs
gl_FrontFacing
bug. #21205, #21307 (@mrdoob) - Fix extension warnings. #21204 (@Mugen87)
- Add possibility to bind 3D textures and 2D textures array as color attachment to framebuffer. #20111, #21243, dfaed95, 341aa56, effe04b (@DavidPeicho, @mrdoob)
- Add
.copyTextureToTexture3D()
. #21244 (@DavidPeicho) - Replace
perturbNormal()
implementation with a more robust version. #21299 (@zeux) - Stop default color space conversion. #21336 (@takahirox)
- Add workaround for Adreno GPUs
- WebGLRenderLists
- WebGLState
Documentation
- Improved Chinese translation. #21163, #21215, #21226 (@1993heqiang, @arthur7921, @buglas)
- Improved
Creating a scene
page. #21216 (@bukzor) - Improved
GLTFLoader
andGLTFExporter
pages. #21261, #21262, #21275, #21277 (@takahirox, @eltociear) - Improved
Installation
page. #21258 (@Mugen87) - Improved
SpriteMaterial
page. #21176 (@Cloud9c) - Improved
WebGLRenderTarget
page. #21306, #21308 (@gsimone, @Mugen87) - Improved
Useful links
page. #21218 (@leonsbuddydave) - Fix broken example links. #21180 (@Mugen87)
- Fix broken link to
ImageBitmap
MDN documentation. #21291 (@gonnavis)
Examples
- Clean up. #21184, #21191, #21296, #21335, #21349, 3960123 (@Mugen87, @schmijos, @mrdoob)
- Regenerate RGBM textures. #21173 (@Mugen87)
- Fix
toJSON()
methods for certain node material classes. #21211 (@Mugen87) - Added
misc_exporter_usdz
example. #21251 (@mrdoob) - Simplify
webgl_instancing_scatter
example. #21250 (@Mugen87) - Removed some not so useful examples. #21252, 2dbcb41 (@mrdoob)
- Fix copyright link in
webgl_loader_gltf_variants
example. #21276 (@takahirox) - Make mirror examples resizable. #21297, 1880f08 (@gonnavis, @mrdoob)
- Remove superfluous texture settings in (S)SAO pass. #21329 (@gonnavis)
- Updated
fflate
to 0.6.2 and removedfflate-deflate
. 388d909 (@mrdoob) - Add
SSRPass
andwebgl_postprocessing_ssr
example. #20156 (@gonnavis) - Add
webxr_ar_lighting
example. #20876, c63bdaf (@toji, @mrdoob)
-
3DMLoader
-
AnaglyphEffect
-
BufferGeometryUtils
-
CSS2DRenderer/CSS3DRenderer
-
GLTFExporter
-
GLTFLoader
- Make error when loading textures with no data clear. #21177 (@zeux)
- Revert usage of
.computeTangents()
. #21186 (@Mugen87) - Add before/afterRoot hook points. #21207 (@takahirox)
- Remove support for
MSFT_texture_dds
. #21271 (@donmccurdy) - Fix bug when loading external WebP texture #21282 (@gkjohnson)
-
NRRDLoader
- Improved gzip detection code. #21213 (@IsseiMori)
-
SVGLoader
-
USDZExporter
- Added textures support. #21245, #21247, b397418 (@mrdoob)
- Reduce vector precision. e35432a (@mrdoob)
- Added
uv2
warning. 4ad0d3c (@mrdoob) - Removed unnecessary lines. d92ea73 (@mrdoob)
- Improved resizing code. 1e210ac (@mrdoob)
- Implemented 64byte alignment. 8000053 (@mrdoob)
- Define emissiveColor only when required. ec77181 (@mrdoob)
- Clean up. ff0e2e1 (@mrdoob)
- Resize textures to 1024 by default. aa5bb10 (@mrdoob)
- Improved material parameter nodes. d5326ca (@mrdoob)
- Fixed exporting Xforms with duplicated names. ac377cf (@mrdoob)
- Added
material.emissive
support. d1de1f0 (@mrdoob) - Fixed normals. ddc530d (@mrdoob)
-
VOXLoader
-
VRMLLoader
-
WebGPURenderer
- Fix uniform
updateVector4()
. #21160 (@sunag) - All UBOs and varyings are generated by node material now. #21170 (@sunag)
- Update to latest WebGPU API. #21194, #21345 (@Mugen87)
- More node classes and bug fixes. #21208 (@sunag)
- Rename
ModelViewProjectionMatrixNode
toModelViewProjectionNode
. #21253 (@sunag) - Set material dispose listener only once. #21346 (@Mugen87)
- Fix material compile per object and new instance uniform example. #21350 (@sunag)
- Fix uniform
Editor
- Clean up. #21325 (@1993heqiang)
- Call
.dispose()
on textures. #21159 (@Mugen87) - Refactor UI classes. 794af18, 76ac160, 2f30e75, c513508, a501950, 4885b4c, e5139eb, 6b3b9d6 (@mrdoob)
- Allow negative light intensity. f1fb6ee (@mrdoob)
- Added
ffmpeg.wasm
video renderer. #21221 (@mrdoob) - Add center option. #21340 (@Mugen87)
- Rescued VR mode. #21351, 292e51c, 292e51c (@mrdoob)
Tests
- Add
BufferAttribute.toJSON()
unit test. #21225 (@takahirox)
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r124--r125
https://github.com/mrdoob/three.js/milestone/38?closed=1
Source
- Global
- Color
- Font
- Convert to ES6 class. #21050 (@linbingquan)
- Geometry
- InstancedMesh
- KeyframeTrack
- Fix typo in
.optimize()
. #21071 (@donmccurdy)
- Fix typo in
- MathUtils
- Add
.pingpong()
. #21091 (@marcofugaro) - Add
.damp()
for framerate independent lerping. #21102 (@marcofugaro)
- Add
- Matrix4
- Add
.setFromMatrix3()
. #20991 (@gkjohnson)
- Add
- PMREMGenerator
- Improve handling of background and clear color. #20983 (@gkjohnson)
- Make background result independent of
premultipliedAlpha
setting. #21034 (@gkjohnson)
- Vector4
- Add
multiply()
. #21065 (@marcofugaro)
- Add
- WebGLExtensions
- WebGLRenderer
- WebGLRenderTarget
- Convert to ES6 class. #21053 (@alexfriesen)
- WebGLTextures
- Set all pixel storage modes for
CubeTexture
. #20961 (@11zouzouzou)
- Set all pixel storage modes for
- WebXRManager
Documentation
- Clean up. #21104 (@Mugen87)
- Improved Chinese translation. #20976, #20993, #21025, #21066, #21079 (@puxiao, @jiangxiaoxin, @ilzhi, @linbingquan)
- Improved Korean translation. #20940, #20952 (@hareha)
- Improved
Creating Text
page. #20817 (@gonnavis) - Improved
DRACOLoader
page. #20973 (@gkjohnson) - Improved
GLTFLoader
page. #21155 (@donmccurdy) - Improved
Object3D
page. #21124 (@Mugen87) - Improved
ObjectLoader
page. #20988, #20989 (@Cloud9c, @Mugen87) - Improved
OrbitControls
page. #21134 (@1993heqiang) - Improved
Vector3
page. #21154 (@j13ag0) - Add plugins and libraries page. #21010, #21093 (@gkjohnson)
- Refactor geometry browser. #21030 (@Mugen87)
- Added docs for
KTX2Loader
. #21169 (@elalish)
TypeScript
- Clean up. #21049 (@linbingquan)
- Improved declaration of
clone()
methods. #20947 (@Tonvey) - Fix
KeyframeTrack
constructor types. #20994 (@vickyliin) - Add
loadAsync()
typings. #21001 (@mjurczyk) - Added
Curve.computeFrenetFrames()
. #21036 (@ycw) - Improved types for
AudioContext
. #21048 (@linbingquan) - Add
uuid
as a type toShape
. #21058 (@joshuaellis) - Add
userData
toSVGResult.paths
. #21059 (@joshuaellis) - Improved
Skeleton
andSkeletonUtils
types. #21051 (@maccesch) - Added types for
XRHandModel
and its methods. #21109 (@CodyJasonBennett) - Fix typings for
CurveModifier
andTessellateModifier
. #21112 (@cgauld) - The
canvas
parameter ofCanvasTexture
now acceptsImageBitmap
. #21120 (@AlexandrosGounis) - Add
failIfMajorPerformanceCaveat
. #21157 (@Mugen87)
Examples
- Clean up. #20966, #21115, #21158 (@vvanghelue, @takahirox, @Mugen87)
- Replace zip libraries with
fflate
. #20959, #20965, #20970 (@Mugen87, @101arrowz) - Refactor
webgl_simple_gi
. #20996 (@Mugen87) - Move example code to
BufferGeometry
. #20999, #21004, #21006, #21005, #21007, #21013, #21021 (@Mugen87) - Consolidate morph target examples. #20998 (@Mugen87)
- Remove
Geometry
support from exporters, geometries and modifiers. #21008, #21009, #21026, #21062, #21067, #21060, #21081, #21087, #21090 (@Mugen87, @mrdoob) - Removed
OBJLoader2
andOBJLoader2Parallel
. #21014 (@mrdoob) - Simplified and improved
RectAreaLight
example. #21016 (@mrdoob) - Removed
FaceNormalsHelper
. #21017 (@mrdoob) - Fix contact shadow example. #21063 (@marcofugaro)
- Use
event.code
instead of instead ofevent.keyCode
. #21055, #21056 (@felixmariotto) - Removed
SubdivisionModifier
. #21072 (@Mugen87) - Add photosensitive epilepsy warning to
webgl_postprocessing_glitch
. #20978 (@FrodoLuo) - Remove
useCapture
parameter from event listeners. #21101, #21110, #21125 (@marcofugaro) - Add
webgl_loader_gltf_compressed
example. #21114, 067cf15 (@zeux, @mrdoob)
-
3DMLoader
-
BasisTextureLoader
- Update Basis library. #21094 (@donmccurdy)
- Refactor. #21131, #21144 (@donmccurdy)
-
BufferGeometryUtils
-
CubeTexturePass
-
FBXLoader
-
GLTFLoader
- Respect file contents length defined in header. #21122 (@gkjohnson)
- Fixed variants normal map scale. #21148, #21168 (@elalish)
-
GLTFExporter
- Support textures using
OffscreenCanvas
. #21074 (@TechnologicNick)
- Support textures using
-
KTX2Loader
- Fix calculation of level dimensions for NPOT textures. #20888 (@donmccurdy)
- Improve parsing and transcoding process. #21137 (@donmccurdy)
-
Line2
- Fix missed intersections when segment extends behind camera near plane. #21041 (@gkjohnson)
-
LUTPass
- Improve LUT Sampling. #21040 (@gkjohnson)
-
OrbitControls
-
RGBMLoader
-
TrackballControls
-
USDZExporter
-
WebGPURenderer
Editor
- Clean up. #21057 (@1993heqiang)
- Added pen support to
EditorControls
. #20951 (@arodic) - Improve initial parameters of new orthogonal cameras. #20948 (@1993heqiang)
- Move to
fflate
. #20971, #20977, #20987 (@Mugen87) - Fix remove function of
UIPoints
. #21011 (@Mugen87) - Remove remaining dependencies to
Geometry
. #21085 (@Mugen87) - Fix reference in
Sidebar.Material.js
. #21105 (@Mugen87)
Tests
- Add
Object3D.DefaultMatrixAutoUpdate
unit test. #20963 (@takahirox) - Add
Object3D.DefaultUp
unit test. #20982 (@takahirox)
Utils
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r123--r124
https://github.com/mrdoob/three.js/milestone/37?closed=1
Source
- Global
- Improved linter settings and clean up. #20827, #20829, #20852, #20853, #20862, #20863 (@gkjohnson, @Mugen87)
- Simplify regular expressions. #20892, #20897, #20899 (@gonnavis)
- Clean up. #20916, #20910, #20912 (@1993heqiang, @jasonsturges)
- More usage of ES6 default values. #20840 (@linbingquan)
- CompressedTextureLoader
- InstancedMesh
- Line
- Matrix3
- SkinnedMesh
- WebGLPrograms
- WebGLRenderer
Documentation
- Clean up. #20766, #20780, #20879, #20891, #20895, #20915, #20907, #20905, #20928, #20929 (@linbingquan, @traysiMay, @luisfonsivevo, @Mugen87, @jasonsturges, @ComanderKai77, @gonnavis)
- Improved
AxesHelper
page. #20785 (@gonnavis) - Improved
BufferAttribute
page. #20890 (@luisfonsivevo) - Improved
CurvedPath
page. #20866 (@Mugen87) - Improved
DataTexture
page. #20809 (@gkjohnson) - Improved
GLTFLoader
page. #20783 (@takahirox) - Improved
Layers
page. #20832 (@donutcoffee) - Improved
Matrix4
page. #20864 (@mjurczyk) - Improved
MeshPhysicalMaterial
page. #20778 (@Mugen87) - Improved
Raycaster
page. #20931 (@Mugen87) - Added
OBB
page. #20825 (@Mugen87) - Started Korean translation. #20872, #20877, #20925, #20934 (@hareha, @kijunkim9)
TypeScript
- Removed
shadowMapDebug
fromWebGLRenderer.d.ts
. #20776 (@Mugen87) - Introduce
OUTPUT
enum toSAOPass
. #20775 (@Fluqz) - Add types for
GLTFLoader
s plugin system. #20713 (@FMS-Cat) - Fix outdated stencil properties of
Material
. #20881 (@ivan-dages) - Fix
Vector4.setAxisAngleFromRotationMatrix()
. #20927 (@hujiulong)
Examples
- Clean up. #20797, #20822, #20923 (@Mugen87, @linbingquan, @Ph0tonic)
- Removed
webgl_postprocessing_ssaa_unbiased
. #20764 (@gkjohnson) - Made
webgl_framebuffer_texture
more interesting. #20801 (@Mugen87) - Use template string for HTML template in
index.html
. #20802 (@marcofugaro) - Tweak shadow examples search tags. #20773 (@makc)
- Fixed shadow in
webgl_shadow_contact
. #20849 (@Fluqz) - Fixed broken
NodeMaterial
presets. #20856 (@Mugen87) - Removed
TypedArrayUtils
andwebgl_nearestneighbour
demo. #20871 (@Mugen87) - Improve
webgl_loader_xyz
demo. #20896 (@Mugen87) - Remove FPS workaround in
webxr_vr_video
demo. #19907 (@Mugen87) - Add mobile support for
unreal_bloom_selective
example. #20911 (@ajflores1604) - Simplify
webgl_geometry_spline_editor
demo. #20902 (@Mugen87) - Added
games_fps
example. #20836, 326b83d, 919707f, 762ecf6 (@supereggbert, @mrdoob)
-
3DMLoader
-
ColladaLoader
-
CurveModifier
-
EdgeSplitModifier
-
FBXLoader
-
GeometryUtils
-
GLTFExporter
- Fix undefined node name bug in
mergeMorphTargetTracks()
. #20799 (@takahirox) - Account for bind matrix. #20804 (@zach-capalbo)
- Fix undefined node name bug in
-
GLTFLoader
- Use sanitized name when creating unique node name for duplicated name. #20880 (@ryans1224)
-
LDrawLoader
-
LottieLoader
-
OBJLoader
-
RGBELoader
- Make magic bytes regex less strict #20887 (@gkjohnson)
-
TDSLoader
-
TiltLoader
-
VOXLoader
Editor
- Clean up. 573fbc7, f5d1f18 (@mrdoob)
- Import loaders dynamically. fa7b40c (@mrdoob)
- Import exporters dynamically. 62b19f0 (@mrdoob)
- Import geometry parameter panels dynamically. e25449c (@mrdoob)
- Added vox files support. 6e0c0b0, 13afd50 (@mrdoob)
Tests
- Introducing logging level for unit tests. #20782 (@takahirox)
- Add
Object.updateWorldMatrix()
unit test. #20772 (@takahirox) - Add
GLTFExporter
lights and unlit material extensions tests. #20821 (@takahirox) - Fix remaining console warnings. #20834 (@Mugen87)
- Introduce flag for skipping unit tests in
node.js
. #20884 (@takahirox) - Fix
GLTFExporter
unit test. #20885 (@takahirox) - Add
npm run test-unit-examples
command. #20900 (@takahirox) - Removed editor unit tests. 1e30dfa (@mrdoob)
Utils
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r122--r123
https://github.com/mrdoob/three.js/milestone/36?closed=1
Source
- Global
- BufferGeometry
- Clock
- Avoid code redundancy. #20743 (@linbingquan)
- DataTexture
- DataUtils
- InstancedMesh
- Matrix3/Matrix4
- Object3D
- Quaternion
- SkinnedMesh
- Skeleton
- WebGLBindingStates
- Resolve memory leak caused by using
Object.keys()
. #20643 (@takahirox)
- Resolve memory leak caused by using
- WebGLRenderer
- WebGLState
- Ensure
reset()
resets all status variables. #20732 (@webglzhang)
- Ensure
- WebXRController
Documentation
- Clean up. #20601, #20623, #20699 (@Mugen87, @linbingquan)
- Unify type case. #20596 (@gonnavis)
- Improve
How to update things
guide. #20605 (@Mugen87) - Clarify
InstancedMesh.setMatrixAt()
. #20620 (@gonnavis) - Added
.setColorAt()
toInstancedMesh
. #20662 (@Mugen87) - Clarify usage of
WebGLRenderer.info
. #20678 (@Mugen87) - Fix
MathUtils.randFloatSpread()
style error. #20680 (@gonnavis) - Add note about non-uniform scale to
Matrix4.decompose()
. #20752 (@Mugen87)
TypeScript
- Add
userData
toMaterialParameters
. #20624 (@alexpreynolds) - Added additional type information
toArray()
. #20614 (@Antony74) - Add missing definition of
GLTFLoader
methods. #20712 (@FMS-Cat) - Add
.getHand()
typing inWebXRManager.d.ts
. #20707 (@wassx) - Fix return type of
Matrix4.invert()
. #20731 (@arodic) - Fix
Object3D.quaternion
description. #20739 (@JacobJaffe)
Examples
- Clean up. #20650, #20652, #20667, #20668, #20669, #20693, 2526d93 (@Mugen87, @mrdoob)
- Avoid computation of inverted matrices. #20577 (@gonnavis)
- More usage of
WebGLExtensions.has()
. #20615 (@Mugen87) - Improved
webgl_gpgpu_birds_gltf
example. #20645, #20646, #20649 (@gonnavis) - Converted
TessellateModifier
to recursive and made it similar toSubdivisionModifier
. #20430 (@arodic) - Remove usage of
Camera.target
. #20694 (@Mugen87) - Fixed
webgl_loader_texture_rgbm
example. 7fbb4a0 (@mrdoob)
-
3DMLoader
-
3MFLoader
-
CurveModifier
-
DRACOExporter
-
DragControls
-
EffectComposer
-
FBXLoader
-
GLTFExporter
-
GLTFLoader
- Set glTF primitive extensions to userData. #20679 (@donmccurdy)
- Support
KHR_materials_variants
extension and addwebgl_loader_gltf_variant
example. #20690, #20717, d72eb89 (@cx20, @donmccurdy, @mrdoob)
-
KTX2Loader
- Allow
.parse()
to initialize transcoder. #20677 (@donmccurdy)
- Allow
-
LineMaterial
-
LottieLoader
-
MeshSurfaceSampler
- Add
.setRandomGenerator()
. #20576 (@gkjohnson) - Support vertex colors. #20702 (@Mugen87)
- Add
-
NodeMaterial
-
OBJExporter
-
OBJLoader
-
OrbitControls
-
PLYLoader
-
RoundedBoxBufferGeometry
-
SVGLoader
- Fix arc parsing with zero radius path commands. #20644 (@gregzanch)
-
WebGPURenderer
-
XYZLoader
Editor
- Add support for
PointsMaterial
. #20701 (@Mugen87) - Ensure material selection fits to object type. #20710 (@Mugen87)
- Add support for loading DRACO encoded point clouds. #20711 (@Mugen87)
- Add
XYZLoader
. #20727 (@Mugen87) - Improve Chinese translation. #20728 (@linbingquan)
- Trigger rendering when animation is stopped. #20753 (@Mugen87)
Tests
- Add
Object3D.updateMatrix()
unit test. #20676 (@takahirox) - Add
Object3D.updateMatrixWorld()
unit test #20685 (@takahirox) - Add
Object.localToWorld()
andObject.worldToLocal()
unit tests. #20721 (@takahirox)
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r121--r122
https://github.com/mrdoob/three.js/milestone/35?closed=1
Source
- Global
- More usage of ES6 default parameters. #20472 (@linbingquan)
- AnimationObjectGroup
- Audio
- Copy filters array in
.setFilters()
. #20105 (@takahirox)
- Copy filters array in
- Camera
- Properly update world matrix prior to use. #20224 (@WestLangley)
- CubeCamera
- CubeTexture
- MaterialLoader
- Object3D
- Add
clear()
. #20478, 315d0fc (@Mugen87, @bianyunzhi95, @mrdoob)
- Add
- RectAreaLight
- Add half float support. #20477 (@yellowtailfan)
- VideoTexture
- Fix
clone()
in context ofrequestVideoFrameCallback()
. #20449 (@ianpurvis)
- Fix
- WebGLGeometries
- WebGLCubeMaps
- WebGLRenderer
Documentation
- Improved
Creating a Scene
page. #20468, #20525 (@montoyamoraga, @subtra3t) - Improved
Quaternion
page. #20396 (@FlorentMasson) - Improved
VideoTexture
page. #20476 (@Mugen87) - Improved constants page. #20488 (@linbingquan)
- Move to let/const. #20484, #20487, #20485 (@Mugen87, @linbingquan)
- Improved Chinese translation. #20533, #20532 (@SJoshua, @zhangyxyx)
- Remove obsolete
list.js
imports. #20545 (@Mugen87) - Make
list.js
to a JSON file. #20553 (@Mugen87)
TypeScript
- Add
is*
boolean to every texture type. #20483 (@DavidPeicho) - Export
TextGeometryParameters
. #20467 (@Methuselah96) - Remove
Scene.dispose()
definition. #20496 (@wal0x) - Add missing
DataTexture2DArray
declaration. #20526 (@djytw) - Add
mouseButtons
toTrackballControls
. #20551 (@markhog) - Fix parameter error of
AnimationClip.toJSON()
. #20569 (@beidongjiedeguang)
Examples
- Clean up. #20438, #20470, #20513, #20517, #20536, #20567, #20570, #20571, 39aca04 (@linbingquan, @Mugen87, @mrdoob)
- Remove
ExplodeModifier
. #20458 (@Mugen87) - Remove
Fire
. #20495 (@Mugen87) - Move HTML example code to let/const. #20500, #20501, #20503, #20505, #20507, #20509, #20510, #20512 (@Mugen87)
- Update name of face mesh in
webgl_animation_skinning_morph
example. #20504 (@donmccurdy) - Make
files.js
to JSON files. #20544 (@Mugen87) - Add 3D LUT color grading post processing pass. #20558, #20562 (@gkjohnson)
- Add
EdgeSplitModifier
. #20535 (@Mcgode) - Removed deprecation warning from
examples/js
files. #20568 (@mrdoob) - Fix toggle icon CSS issue. #20566 (@Mugen87)
- Added curve modifier examples. #20538 (@AdaRoseCannon)
-
GLTFLoader
-
OBJLoader
- Fix normal generation. #20498 (@gkjohnson)
-
OutlinePass
-
SelectionHelper
- Use Pointer Events API. #20514 (@tsaockham)
-
SSAOPass
-
STLExporter
-
WebGPURenderer
Editor
- Clean up. #20464 (@linbingquan)
- Support animation export with GLTFExporter. #20454 (@Mugen87)
- Improved Chinese translation. #20466, #20557 (@linbingquan)
- Fix
ViewHelper
with translated camera. #20524 (@Mugen87) - Change color picker to realtime. #20528 (@codedeep)
- Make playback speed of animations configurable. #20547 (@Mugen87)
Tests
- Fix ReferenceError in
check-coverage.js
. #20543 (@takahirox)
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121
https://github.com/mrdoob/three.js/milestone/34?closed=1
(646,271 KB, gzip: 157,542 KB)
Source
- Global
- Move to ES6 classes. #20240, 853f445 (@mrdoob)
- Add
/*@__PURE__*/
to module scope variable assignments. #20236 (@ianpurvis)
- AnimationUtils
- BufferGeometry
- Chainable
setIndex()
method. #20413 (@takahirox)
- Chainable
- EdgesGeometry
- Move to
BufferGeometry
. #20327 (@gkjohnson)
- Move to
- Geometries
- ImageBitmapLoader
- Lights
- LightShadow
- Remove from public API. #20288 (@WestLangley)
- Line
- Loader
- Introduce
.setWithCredentials()
. #20355, #20364, #20374 (@amosbyon1224, @Mugen87)
- Introduce
- MeshPhysicalMaterial
- Improved transmission model. #20273 (@WestLangley)
- Added
.ior
property. #20322 (@WestLangley)
- Object3D
- Correctly update world matrix prior to use. #19969 (@WestLangley)
- Points
- PolyhedronGeometry
- More fine-tuned picking of level of detail. #20255, #20420 (@felixmariotto, @Mugen87)
- SpotLightShadow
- Added
.focus
property. #20218 (@WestLangley)
- Added
- WebGLCubeRenderTarget
- WebGLShadowMap
Documentation
- Clean up. #20263, #20378, #20379, #20383, #20382, #20381 (@mentaltoy, @ycw, @ACMCMC)
- Improved Arabic localization. #20190, #20377 (@hassanMuhamad)
- Improved
WebGLProgram
page. #20293 (@Adjective-Object) - Clarify loop unroll behavior. #20306 (@gkjohnson)
- Clarify behavior for Material
blendDst
,blendEquation
, andblendSrc
whennull
. #20344 (@gkjohnson) - Fixed WebGL Spec links. 1fae7ea (@mrdoob)
- Geometry UVs are
Vector2
s. #20406 (@TiraO) - Clarify
InstancedBufferAttribute.meshPerAttribute
. #20408 (@Mugen87) - Added
undefined
asMaterial.defines
type. #20356 (@ycw) - Improve
Object3D
page. #20386 (@mjurczyk)
TypeScript
- Clean up. #20285, #20337, #20338, #20339, #20342, #20343 (@linbingquan, @ycw)
- Improve
CondNode
constructor's type. #20232 (@martinRenou) - Add logical operators to
CondNode
. #20231 (@martinRenou) - Fix
Vector3.fromBufferAttribute()
type definition. #20235 (@Mike-Dax) - Add
InstancedMesh.setColorAt()
definition. #20250 (@ben-voss) - Fixed wide line typings. #20267 (@giulioz)
- Added definitions for CSM classes. #20270 (@Sean-Bradley)
- Make
ArrowHelper
's color parameter more permissive. #20282 (@deerob4) - Remove
mode
fromLineSegments
ctor. #20295 (@ycw) - Removed outdated
*IdCount
. #20341 (@ycw) - Fix inheritance of
WebXRManager
. #20352 (@Mugen87) - Fixed
load()
inCompressedTextureLoader
. #20373 (@linbingquan) - Added types for WebXR API. #20150 (@PalashBansal96)
- Added
setScaleSnap
type definition toTransformControls
. #20423 (@YoshihiroIto) - Clean up geometry generators. #20426 @klevron
- Fix
color
property type onLineBasicMaterial
. #20429 (@Methuselah96) - Fix
ExpressionNode
contructor's type definition. #20213 (@martinRenou)
Examples
- Clean up. #20233, #20246, #20360, #20405 (@SanjoSolutions, @Mugen87, @pschroen)
- Assign equirect env maps directly to
Scene.background
. #20189 (@Mugen87) - Properly handle EXR files on drag-and-drop in
webgl_materials_matcap
example. #20261 (@WestLangley) - Linearize sRGB material color in
webgl_materials_matcap
example. #20279 (@WestLangley) - Properly initialize helpers in
webgl_materials_envmaps_parallax
example. #20278 (@WestLangley) - Use
RectAreaLightHelper
inwebgl_lights_rectarealight
example. #20277 (@WestLangley) - Refactor controls in
webgl_geometry_spline_editor
example. #20312 (@Mugen87) - More usage of pointer events and terminology. #20316, #20353 (@Mugen87)
- Fix timing bug in
misc_controls_pointerlock
example. #20334 (@arodic) - Fixed broken pointer event handling when
pointerType
ispen
. #20336 (@arodic) - Removed
misc_animation_authoring
example. #20363 (@Mugen87) - Simplified
webgl_multiple_scenes_comparison
example. 65494f3, a72e73d (@mrdoob) - Improved
GridHelper
in black backgrounds. c39ede5 (@mrdoob) - Replaced all touch events usage. 0a1131f (@mrdoob)
- Update geometries in
webgl_lod
. c9b5020 (@mrdoob) - Remove
TypedGeometryExporter
. #20404 (@Mugen87) - Add jittering to reduce sampling artefacts in
webgl2_volume_cloud
example. #20222, b44e670 (@DavidPeicho, @mrdoob) - Added
misc_legacy
example. d2f0e5c (@mrdoob)
-
3DMLoader
-
BasicNodeMaterial
- Improve shaders. #19955 (@martinRenou)
-
DRACOLoader
- Improve performance with new
GetArray
methods. #20399 (@donmccurdy)
- Improve performance with new
-
GLTFLoader
- Modified spec/gloss shader to match the
glTF
spec. #20226 (@WestLangley) - Properly set defines for
GLTFMeshStandardSGMaterial
#20242 (@WestLangley) - Add node hookpoint and move the lights extension handler to the new system. #19892 (@takahirox)
- Fix alpha detection for
colorType=3,4
. #20376 (@donmccurdy) - Deduplicate node names. #16639 (@donmccurdy)
- Modified spec/gloss shader to match the
-
Line2
-
LineSegements2
- Add a
threshold
raycaster parameter. #20375 (@gkjohnson)
- Add a
-
RoughnessMipmapper
-
SVGLoader
- Implement
defs
anduse
nodes. #20209 (@yomboprime)
- Implement
-
TransformControls
-
VTKLoader
-
WebGPURenderer
- Added new renderer. #20254, #20257, #20268, #20274, #20272, #20275, #20281, #20284, #20283, #20330, #20298, #20390, 9618bc8, d4083dc, c3d8a89, 26472f8, 6e19f98, 9021c89, fe65eaf, 211d4c0, 33079a0, 5d72fec, 10bff9f, 8277a52, 63a0b7b, 317bd1c, 5029895, e1fde83, da64654, 2aca7c6, 7a096e8, 2519b47, 2876fcc, d82f89e, e103579, 329cb62, b166f40, 91e38e7, 1e36728, 3fd2561, b0f4546, 56d0b32, 00cabc4, 8e70942, 201e67b, b906fb3, 67ca362, 37ca608, 6f3e651, 1268b10, 3092ff9, 0200e03, 57fa67f, 0228293, 029877f, cf9822c, 839f462, 7551139, 1c7f4c9, 9676f7f, 29ec65b, 0229ebd, 9ee09d6, dfe538e, d5c3089, c95ea0b, cd3003f, 7bb3c2c, 16353c9, 3dcce7a, 7830fe3, 1893c9d, cd95aa4, 5e1417c, fcdfc8a, 6246c13, ade8cd9, b4d4566, 9a6f648, 3d8f432, e22c4ff, 932dc84, c9a8edc, 3056904, 551adcb, d4a3e62, fbea62b, cb623ed, 0466c14, b7c038d, 66b9fa3, d85592a, 0576e70, 44e7ea9, 2a6229d, e6b67d3, 4314d79, 6a57d82, fcd0cc4, 2f73371, b02e7f9, 599eb63, 87f5644 (@Mugen87, @takahirox)
Editor
- Make
emissiveIntensity
configurable. #20227 (@Mugen87) - Fix light shadow configurations. #20358 (@Mugen87)
- Tweaked cursors. f32bb9f (@mrdoob)
- Refactored
Resizer.js
. b215c36, 70f0001 (@mrdoob) - Remove touch-action css temporarily. b478609 (@mrdoob)
- Fix
VTK
import. #20397 (@Mugen87) - Update esprima from 2.0 to 3.1. #20425 (@devingfx)
- Improve multi-file loading. 4392771 (@mrdoob)
Assets
2
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)
Assets
2
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r118--r119
https://github.com/mrdoob/three.js/milestone/32?closed=1
(630,548 KB, gzip: 156,930 KB)
Source
- Global
- Clean up. #19737, #19910, #19929 (@theundebruijn, @linbingquan, @Mugen87)
- Add missing
/* glsl */
string template. #19751 (@yushijinhun) - Remove author comments. #19948, #19953, #19952, 4944e56 (@Mugen87, @mrdoob)
- Box3Helper
- Allow
0x000000
as color value. #19760 (@WestLangley)
- Allow
- CatmullRomCurve3
- Ensure zero is valid argument for
tension
. #19762 (@dskeithbuck)
- Ensure zero is valid argument for
- Helpers
- InterleavedBufferAttribute
- Loader
- MaterialLoader
- Added missing
transmission
check. #19818, #19860 (@lokiiarora)
- Added missing
- MathUtils
- Added
seededRandom()
method. #16655, #19848 (@WestLangley, @Mugen87)
- Added
- MeshPhysicalMaterial
- Rename
transparency
totransmission
. AddtransmissionMap
. #19690, #19868, #19869 (@donmccurdy, @WestLangley)
- Rename
- Object3D
- Copy
rotation.order
. #19789 (@luisfonsivevo)
- Copy
- PMREMGenerator
- Fixes alpha component for LDR outputs. #19765 (@sciecode)
- Clean up. #19773 (@WestLangley)
- Quaternion
- Added
.identity()
. #19806 (@WestLangley)
- Added
- Spherical
- Vector3
- VideoTexture
- WebGLBindingStates
- WebGLCubeRenderTarget
- Retain filter settings. #19795 (@WestLangley)
- Default to RGBA format in
.fromEquirectangularTexture()
. #19931 (@WestLangley)
- WebGLExtensions
- Add
.has( name )
method. #19756 (@donmccurdy)
- Add
- WebGLInfo
- WebGLMaterials
- WebGLProgram
- WebGLPrograms
- WebGLRenderer
- WebGLShadowMap
- Disable stencil buffer. #19927 (@WestLangley)
- WebXRManager
Documentation
- Added
.js
extension to path ofGLTFLoader
. #19767 (@parke) - Add
Import maps
section toInstallation
page. #19746 (@donmccurdy) - Update
CurvePath.getCurveLengths()
. #19788 (@aconz2) - Fixed typo in
GLTFLoader
. #19819 (@markstrefford) - Remove
fog
property fromSpriteMaterial
page. #19834 (@luisfonsivevo) - Update list of extensions in
GLTFLoader
page. #19858 (@donmccurdy) - Fixed wrong file paths in
ConvexHull
page. #19873 (@felixmariotto) - Improve
OrbitControls
page. #19925 (@WestLangley)
TypeScript
- Added missing
transmission
property toMeshPhysicalMaterial
. #19783 (@ManishJu) - Fixed
GridHelper
types. #19870 (@ycw) - Generalize
NodeMaterial
vertex/fragment types. #19897 (@martinRenou) - Add
Node Flow
interface. #19896 (@martinRenou) - Add type declaration file for
KTX2Loader
. #19915 (@Mugen87) - Missing property in
NodeBuilder
requires type definition. #19895 (@martinRenou)
Examples
- Clean up. #19777, #19829, #19867, #19913, #19942, cf85519 (@linbingquan, @Mugen87, @mrdoob)
- Fix
webgl_materials_video_webcam
example for iOS. #19750 (@munrocket) - Update
Zlib
, introducesDeflate
. #19748 (@sciecode) - Set
flipY
tofalse
inwebgl_buffergeometry_instancing_interleaved
example. #19794 (@WestLangley) - Fix link in modules warning. #19812 (@Mugen87)
- Fix controls in
webgl_loader_md2_control
example. #19825 (@Mugen87) - Update link to paper in
Sky.js
. #19823 (@jsantell) - Added toggle for thumbnails. #19881, f60dc5b, e5a6f37, d9dc3d0 (@ajflores1604, @mrdoob)
- Avoid NaN values in data textures in
webgl_gpgpu_birds_gltf
example. #19885 (@Mugen87) - Remove broken text geometries in
webgl_camera_logarithmicdepthbuffer
example. #19884 (@Mugen87) - Trim search terms. #19887 (@Mugen87)
- Fix NaN value in first frame in
webgl_shader
example. #19875, 56382ed (@greggman, @mrdoob) - Improve
webgl_loader_3mf
example. #19920 (@Mugen87) - Fix GPGPU examples for iPadOS Safari. #19944, 9006b83 (@jonobr1, @mrdoob)
- Removed
webgl2_sandbox
example. db276bf (@mrdoob) - Improvements to minimal list mode. 688117a (@mrdoob)
- Added
webgl2_volume_perlin
example. #19954 (@mrdoob)
-
3MFLoader
-
EXRLoader
-
FBXLoader
- Add version check for binary files. #19886 (@Mugen87)
- Add check before parsing UVs. #19898 (@johnmarinelli)
-
GLTFLoader
- Clone reused light and camera instances. #19799 (@donmccurdy)
- Implement
KHR_texture_basisu support
. #19791 (@zeux)
-
KTX2Loader
- Added new loader. #18490 (@donmccurdy)
- Cache loaded module promise. #19796 (@zeux)
- Fix transcode target choices for
UASTC
on iOS. AddBC7
. #19846 (@donmccurdy) - Fix
UASTC
toBC7
target format selection. #19916 (@lexaknyazev) - Rebuild basis transcoder. #19933 (@donmccurdy)
- Add
ZSTDDecoder
andZSTD
support. #19932 (@donmccurdy)
-
LineSegmentsGeometry
- Make use of
InterleavedBufferAttribute.needsUpdate
. #19890 (@WestLangley)
- Make use of
-
NodeMaterial
-
SVGRenderer
-
VolumeShader
-
VOXLoader
Editor
- Add view helper. #19769, #19785, 8bea5b8, f7b4210, 0fb397b (@Mugen87, @mrdoob)
- Introduce animated view presets. #19774 (@Mugen87)
- Make use of
TGALoader
. #19790 (@troy351) - Refactor usage of default camera. #19820 (@Mugen87)
- Don't overwrite editor camera in
Viewport
. #19826 (@Mugen87) - Only process files (not strings) during drag'n'drop. #19831 (@Mugen87)
- Avoid runtime error in outliner. #19835 (@Mugen87)
- Make
loadFile()
inUITexture
work correctly. #19838 (@troy351) - Add option for toggle rendering of helpers. #19849 (@Mugen87)
- Improve Chinese translation. #19859, #19857 (@linbingquan, @washstar)
- Add missing
DRACOLoader
for zipped glTF assets. #19930 (@Mugen87) sw.js
clean up. a23f432 (@mrdoob)- Allow negative scales. ce9863b (@mrdoob)
- Removed scale lock. 62dadd6 (@mrdoob)
Tests
- Add tests for
WebGLRenderLists
andWebGLRenderList
. #19346 (@gkjohnson)