r112
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r111--r112
https://github.com/mrdoob/three.js/milestone/25?closed=1
(606,923 KB, gzip: 151,462 KB)
Source
- Global
- BufferAttribute
- Add convenience methods. #18070, #18119, #18143 (@WestLangley)
- BufferGeometry
- Properly transform normals and tangents. #18083 (@WestLangley)
- Mesh
- MeshStandardMaterial
- MeshToonMaterial
- PMREMGenerator
- Scene
- Texture
- Add
internalFormat
. #15121, a8cc32b (@DavidPeicho, @mrdoob)
- Add
- WebGLProgram
- WebGLPrograms
- WebGLRenderer
- Rename
.vr
to.xr
. #18025 (@Mugen87) - Introduce geometric anti-aliasing for physical materials. #18042, #18057 (@elalish)
- Added support for
lightMap
encoding. #18052, eb3c324 (@SBRK, @mrdoob) - Call
WebGLState.setMaterial()
afteronBeforeCompile()
was executed. #18067 (@sunag) - Fix rendering of objects without morph target influences with morph materials. #18072 (@zeux)
- Implement support for texture matrix for
uv2
. #18099, #18102, 2332bfd (@zeux, @mrdoob) - Remove
.gammaInput
. #18108 (@Mugen87) - Remove
.gammaOutput
, introduce.outputEncoding
. #18127, #18186 (@Mugen87) - Transform tangents with
modelViewMatrix
indefaultnormal_vertex
. #18107 (@WestLangley) - Remove unused
xr.submitFrame()
. #18141 (@fernandojsg) - Support custom painter sort functions. #16909 (@ranbuch)
- Fix naming of
unpackRGBATo2Half()
. #18192 (@Oletus) - Enable rendering of geometries with just an index. #18044 (@bunnybones1)
- Rename
- WebGLTextures
- Handle UA with partial
OffscreenCanvas
more gracefully. #18037 (@mgreter) - Mipmapping now works with all texture types. #18165 (@FunFetched)
- Handle UA with partial
- WebXRManager
- Pass XRFrame reference to client render loop. #15290 (@dmarcos)
- Fix wrong antialias, depth, stencil, alpha flags. #18178, f98a2e9 (@Artyom17, @mrdoob)
- Removed deprecated code. 3cc44aa (@mrdoob)
- Refactoring and added connected/disconnected controller events. #18238, 19d65aa (@mrdoob)
- Added
getReferenceSpace()
method. 0f1b97d (@mrdoob)
Documentation
- Clean up. #18027, #18047, #18160, #18221 (@Mugen87, @mkeblx)
- Improve
Path
page. #18028 (@bartlomiej-przymus) - Clarify texture filtering for gradient maps. #18080 (@Mugen87)
- Improve docs and TS file of
SkeletonHelper
. #18087 (@Mugen87) - Update HTML Snippet colors for dark mode. #18109 (@gkjohnson)
- Improve
ArrowHelper
page. #18130, ff61617 (@WestLangley, @mrdoob) - Improve Chinese translation. #18180, #18181, #18182 (@anhongpeng)
- Added
LightProbeHelper
page and TS file. #18216 (@Mugen87) - Describe limitation of point size. #18209, ff397bd (@Karolusrex, @mrdoob)
- Removed internal
is*
properties. #18217 (@mrdoob) - Fixed language selector. 3536f49 (@mrdoob)
TypeScript
- Clean up. #18211 (@Mugen87)
- Added missing declaration file for
TubePainter
. #18018 (@Mugen87) - Update declaration files for audio classes. #18022 (@f-a24)
- Add typings for
stats.module.js
. #18021 (@lgarron) - Update
GLTFLoader.d.ts
. #18013 (@fms-cat) - Consolidate
Node.generate()
method declaration. #18008 (@martinRenou) - Improve type definition of
BufferGeometry.setIndex()
. #18060 (@martinRenou) - Fix typings and documentation of
LoadingManager
. #18023 (@chemicstry) - Undeprecate
Skeleton
. #18077 (@discordier) - Add missing readonly keyword on some
Object3D
properties. #18078 (@martinRenou) - Fix parameter names for
Vector3.add()
. #18086 (@martinRenou) - Fix typings for
WebGLCapabilities
andMTLLoader
. #18095 (@drpritch) - Add missing attributes in
NodeMaterial
type definition. #18061 (@martinRenou) - Fix type in
FileLoader.d.ts
. #18121 (@1147079942) - Add typings for
Material.defines
. #18135 (@bastienrobert) - Fix type definition of
TextureNode
. #18168 (@martinRenou) - Do not start a union type with
|
. #18173 (@OndrejSpanel) Frustum.set()
acceptsPlane
, notnumber
. #18193 (@OndrejSpanel)- Remove division parameter for
Font.generateShapes()
. #18204 (@frading) - Added map definition to
MeshDepthMaterial
andMeshDistanceMaterial
. #18229 (@kazz0913)
Examples
- Clean up. #18032, #18100, #18156, #18169, #18188, #18189, #18191, #18224, #18225 2cd1b29, aa9ae9a, 20c5150, a4740f3, 56d428f (@Mugen87, @WestLangley, @mrdoob)
- Fix
css3d_panorama_deviceorientation
example for iOS 13. #18019 (@Mugen87) - Consolidate redundant CSS. #18020 (@Mugen87)
- Added
VertexTangentsHelper
. #17991, #18071, #18166 (@WestLangley) - Rename instancing examples. #18034 (@donmccurdy)
- Update or remove some
InstancedBufferGeometry
examples. #18033 (@donmccurdy) - Fix typos in
webgl_postprocessing_unreal_bloom
example. #18048 (@donmccurdy) - Move bloom example description into
UnrealBloomPass
. #18058 (@donmccurdy) - Update HDR examples. #18069 (@elalish)
- Added
MeshSurfaceSampler
andwebgl_instancing_scatter
example. #18039, #18074, #18138, #18183, #18219 (@donmccurdy) - Remove
TerrainShader
. #18098 (@WestLangley) - Fix
webgl_materials_envmaps_parallax
. #18118 (@Mugen87) - Added
RoughnessMipmapper
. #18110 (@elalish) - Added
webgl_pmrem_test
example. #18142 (@elalish) - Fixed
webgl_tiled_forward
example. #18187 (@Mugen87) - Moved
FaceNormalHelper
,LightProbeHelper
,PositionalAudioHelper
,RectAreaLightHelper
,VertexNormalsHelper
andVertexTangentsHelper
to examples. #18213, #18214, #18215 (@mrdoob, @Mugen87) - Fixed
webxr_vr_paint
example "not painting" with left hand. 1cc753a (@mrdoob) - Improved
webgl_materials_matcap
example. 4088fdd (@mrdoob) - Simplified and improve
webgl_materials_car
example. 02620b1, 4c3b17a, 3c300e3 (@mrdoob) - Fixed filter handling. fa2a44d (@mrdoob)
- Add support for linting example scripts. #17225 (@gkjohnson)
- Use
Scene.background
inwebgl_postprocessing_dof2
example. #18236 (@Mugen87) - Removed SkinShader. ee524fa (@mrdoob)
- Improved
webgl_materials_variations_toon
example. c020570 (@mrdoob) - Added
webxr_ar_hittest
example. 6429ba6, e840cb7 (@mrdoob) - Added
webxr_ar_cones
example. f58cbd4 (@mrdoob)
-
ARButton
-
BasisTextureLoader
-
BufferGeometryUtils
- Provide function for
drawMode
conversion. #18031, #18036 (@Mugen87) - Make
computeTangents()
more robust. #18103 (@WestLangley)
- Provide function for
-
CSS3DRenderer
-
DRACOLoader
- Support repeated loading of same geometry. #18136 (@donmccurdy)
-
EffectComposer
-
EXRLoader
-
FBXLoader
- Correctly apply normal matrix to attribute. #18082, 0be1a21 (@WestLangley, @mrdoob)
- Use new
BufferAttribute.applyMatrix4()
method. #18113 (@WestLangley)
-
GLTFExporter
- Avoid error on materials without
emissive
. #18233 (@donmccurdy)
- Avoid error on materials without
-
GLTFLoader
- Preload DRACO libraries on DRACO glTF load. #18066 (@TyLindberg)
- Clean up UV set messages. #18089 (@zeux)
- Cache default material in the same way as we do for other materials. #17984 (@takahirox)
- Load materials and geometries in parallel. #18132 (@zeux)
- Make
.computeBounds()
more robust. #18164, #18179 (@Mugen87) - Flip
.normalScale
without tangents. #18112 (@elalish)
-
GPUComputationRenderer
-
LineSegments2
- Add raycasting support. #17872 (@gkjohnson)
-
NodeMaterial
-
OBJLoader
-
PLYExporter
-
SSAOPass
-
SubdivisionModifier
- Use all uv channels. #18065, #18223 (@ieskudero, @Mugen87)
-
SVGLoader
- Check node.style is not
undefined
. #18122 (@yomboprime) - Fix stroke generation with round strokeLineJoin. #18124 (@yomboprime)
- Check node.style is not
-
TransformControls
-
TubePainter
Editor