r104
https:/mrdoob/three.js/wiki/Migration-Guide#r103--r104
https:/mrdoob/three.js/milestone/17?closed=1
(571,560 KB, gzip: 142,324 KB)
Source
- Global
- BufferGeometry
- Fixed
.computeBoundingSphere()
. #16237 (@takahirox) - Clarify loop end condition in
.merge()
. #15827 (@takahirox)
- Fixed
- CubeCamera
- ExtrudeGeometry
- Allow bevel to be subtracted. #14233 (@ffdybuster)
- LightProbe
- Added new class. #16191 (@WestLangley)
- Modulate irradiance by probe color. #16260 (@WestLangley)
- Added
AmbientLightProbe
andHemisphereLightProbe
. #16298 (@WestLangley) - Clean up
HemisphereLightProbe
. #16320 (@WestLangley)
- LightProbeHelper
- Added new class. #16275 (@WestLangley)
- Remove string literals for IE11. #16296 (@WestLangley)
- LOD
- Add missing
.isLOD
. #16200 (@takahirox) - Make
.addLevel()
chainable. #16214 (@takahirox)
- Add missing
- MaterialLoader
- Added support for
matcap
. #16181 (@Temdog007)
- Added support for
- Object3D
- Make
.applyMatrix()
more robust. #16250 (@WestLangley)
- Make
- SphericalHarmonics3
- Added new class. #16187 (@WestLangley)
- Added
.fromArray()
and.toArray()
. #16262 (@mrdoob)
- TypeScript
WebGLRenderer.getDrawingBufferSize()
now receivesVector2
and returnsVector2
. #16085 (@fms-cat)- Add missing typescript declaration of
Vector2.cross()
. #16092 (@yaoyao-cn) - Update docs and type definitions for
WebGLRenderer
related to RenderTarget. #16086 (@fms-cat) - Improve
WebGLRenderLists.d.ts
. #16083 (@fms-cat) - Add
isScheduled
toAnimationAction.d.ts
. #16125 (@errorx666) - Removal of the wrongly put
@deprecated
annotation. #16131(@Zielon) - Added remaining material definitions. #16163 (@Mugen87)
- Added
normalMapType
to materials. #16168 (@Mugen87) - Update types to match
@types/three
. #16216 (@Methuselah96) - Improved
WebGLRenderer.d.ts
. #16286, #16300 (@Mugen87, @0b01001101) - Update
WebGLState.d.ts
. #16310 (@sttz) - Add
isLight
property toLight.d.ts
. #16313 (@kohlmannj)
- Vector2/Vector3
- WebGLRenderer
- Fix regression when creating VR/XR manager. #16166 (@Sunstradamus)
- Added support for light probes. #16223 (@WestLangley)
- Added mechanism to opt-out from shader compiler error checking. #16269 (@Usnul)
- Copy color to uniforms value. #15467 (@takahirox)
Documentation
- Clean up. #16198 (@agentwaj)
- Improved
How-to-dispose-of-objects
page. #16124 (@Mugen87) - Improved
MeshNormalMaterial
page. #16169 (@Mugen87) - Improved
QuickHull
page. #16285 (@Mugen87) - Added link to
.customDistanceMaterial
. #16162 (@Mugen87) - Added note about
Texture.flipY
/premultiplyAlpha
withImageBitmap
. #16150 (@takahirox) - Corrected definition of
Texture.premultiplyAlpha
. #16164 (@WestLangley) - Added
MeshDistanceMaterial
page. #16195 (@Mugen87) - Added
MeshMatcapMaterial
page. #16177 (@Mugen87) - Improved material browser. #16205 (@Mugen87)
- Add
roughnessMap
to material browser. #16208 (@Mugen87) - Added
MeshToonMaterial
to material browser. #16255 (@Mugen87) - Added note about importable examples. #16306 (@Mugen87)
Examples
- Clean up. #16308, e6ffb46, 3135ab0 (@linbingquan, @mrdoob)
- Fix tennis balls in
webgl_gpgpu_water
example. #16098 (@yomboprime) - Update Ammo.js to current version. #16100 (@yomboprime)
- Remove outdated type definitions in uniforms. #16111 (@WestLangley)
- Clean up
webgl_animation_multiple
example. #16106 (@takahirox) webgl_materials_matcap
example: specify encoding in drag-n-drop. #16112 (@WestLangley)- Introduced new typings for
JSM
modules. #16149 (@asutekku) - Remove unused uniform from
webgl_custom_attributes_points
examples. #16119 (@looeee) - Fix warnings in
SEA3D
andNodeMaterial
examples. #16231 (@sunag) - Fix
webgl_materials_envmaps_parallax
example. #16230 (@sneha-belkhale) - Improved
webgl_geometry_colors_lookuptable
example. #16235 (@Temdog007) - Make
OutlineEffect
VR compatible. #16247 (@takahirox) - Improve
OrbitControls.d.ts
. #16226 (@webprofusion-chrisc) - Use WebGL2 in
webgl2_loader_gltf
example. #16304 (@Mugen87) - Add modularized
STLLoader
. #16189 (@haafoo) - Added
webgl_postprocessing_unreal_bloom_selective
. #16127, 2a174cf (@Temdog007, (@mrdoob) - Simplify
webgl_lightprobe
. a2bb5c1 (@mrdoob) - Improved
webgl_trails
example. 58b9580 (@mrdoob) - Improved visual quality of
webgl_loader_gltf
examples. 1ecb2d0 (@mrdoob)
-
CSS2DRenderer
- Clean up. 117310e (@mrdoob)
- Ensure invisible
CSS2DObject
s are not rendered. #16314 (@callmegaga)
-
GLTFExporter
- Clean up. #16268 (@takahirox)
- Fix export of multi-material meshes. #16265, #16272, #16267 (@Mugen87, @takahirox)
-
GLTFLoader
- Clean up. #16172 (@takahirox)
- Fixed
DDSExtension
. #16167 (@takahirox)
-
KTXLoader
- Fix bug in mipmap handling. #16088 (@John-DeCorato-HZ, @Mugen87)
-
LDrawLoader
- Add back face culling extension support. #16183 (@gkjohnson)
- Fix stack overflow exceptions. #16245 (@gkjohnson)
-
LWOLoader
-
MMDLoader
- Use
NearestFilter
forgradientMap
. #16179 (@takahirox)
- Use
-
MMDPhysics
- Normalization is needed after quaternion multiply. #15335 (@panxinmiao)
- Fix
._updateBonePosition()
. #16178 (@takahirox) - Remove redundant renormalization and add comment. #16207 (@takahirox)
-
PointerLockControls
- Refactoring. #16171 (@WestLangley)
-
QuickHull
-
SVGLoader
-
TransformControls
-
VRMLLoader
Editor
- Clean up. #16151, #16239, #16279, b10e75c (@linbingquan, @mrdoob)
- Add bounding sphere check. #16120 (@Temdog007)
- Added more
zh
strings for menubar and sidebar. #16134, #16246, #16280 (@linbingquan) - Clear name and user data of scene. #16157 (@Temdog007)
- Ensure camera controls is enabled after object removal. #16138 (@Temdog007)
- Fix material change detection. #16174 (@Temdog007)
- Add
MeshToonMaterial
. #16175 (@Temdog007) - Add
gl_Position
as a keyword. #16185 (@Temdog007) - Add
RawShaderMaterial
. #16184 (@Temdog007) - Add
MeshMatcapMaterial
. #16182 (@Temdog007) - Prevent error when double clicking editor's camera. #16190 (@Temdog007)
- Added
ShadowMaterial
. #16202 (@Temdog007) - Add
DepthPacking
parameter. #16186 (@Temdog007) - Add
OcthedronGeometry
. #16242 (@Temdog007) - Add
TetrahedronGeometry
. #16241 (@Temdog007) - Add
RingGeometry
. #16243 (@Temdog007) - Add
OrthographicCamera
. #16244 (@Temdog007) - Convert textures to sRGB encoding. #16148 (@Temdog007)
- Fix workaround when exporting. #16290 (@Maxsior)