r141
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r140--r141
https://github.com/mrdoob/three.js/milestone/54?closed=1
- Global
- DepthTexture
- Change default
type
toUnsignedIntType
. #24019 (@wmcmurray)
- Change default
- ExtrudeGeometry
- Interpolant
- MeshPhysicalMaterial
- Support iridescence / thin-film materials. #23869, e60a802 (@PascalSchoen, @mrdoob)
- Object3D
- ObjectLoader
- WebGLRenderer
- Stop checking for
FramebufferTexture
in.copyFramebufferToTexture()
. #23964 (@chubei-oppen) - Listen to
webglcontextcreationerror
event. #24091 (@mrdoob)
- Stop checking for
- WebGLMultipleRenderTargets
- Add multisampling support. #24001(@RenaudRohlinger)
- WebGLProgram
- Improve error logging.#24130, #24131 (@LeviPesin, @marcofugaro)
- WebGLTextures
- WebXRManager
- Add
undefined
check inonSessionEnd()
. #23984, #24015 (@kalegd, @Mugen87) - Fix caching of
baseReferenceFrame
and teleport example. #24058 (@richardanaya) - Support more than two views. #23972 (@CodyJasonBennett)
- Add
Documentation
- Add support for code highlighting. #24079 (@sunag)
- Improve Chinese translation. #23985, #24070 (@linbingquan, @qq284590533)
- Improve
Texture
page. #24041 (@dghez) - Improve
WebGLRenderer
page. #24008, #24054 (@Mugen87) - Improve
Creating a scene
guide. #24120, #24126 (@oskar1233, @Mugen87) - Improve
How to run things locally
guide. #24097 (@donmccurdy) - Improve FAQ. #24116 (@Mugen87, @looeee)
Manual
- Improve
Responsive
page. #24023 (@exxnnonymous) - Improve
Primitives
page. #24026 (@taenykim) - Improve Chinese translation. #24000, #24012, #24063, #24132 (@writey, @MongooseSong)
- Improve Korean translation. #23977 (@nerdchanii)
Examples
- Clean up. #23993, #24121, #24118, b5ec276 (@jkristensen, @LeviPesin, @Mugen87, @mrdoob)
- Added
webgpu_cubemap_mix
example. #24059 (@sunag) - Remove deprecated
Geometr
y class and all legacy checks. #24009 (@Mugen87) - Added
webgl_loader_gltf_iridescence
example. c26896d (@mrdoob) - Unified MRT examples. 764cf0f (@mrdoob)
-
3DMLoader
-
CSS2DRenderer
- Remove position rounding for Safari. #24122 (@fanciful-marmot)
-
DDSLoader
- Remove
FourCC
header check. #24124 (@LeviPesin)
- Remove
-
EXRLoader
-
GLTFExporter
-
GPUStatsPanel
- Prevent infinite loop when WebGL context is lost. #23990 (@wmcmurray)
-
HTMLMesh
- Add some more input types and support rounded rectangles. #24030 (@AdaRoseCannon)
-
KTX2Exporter
- Add new exporter. #24102 (@donmccurdy)
-
NodeMaterial
- Add support for IBLs + PBR. #24038 (@sunag)
nodeType
ofAttributeNode
is now optional. #24050 (@sunag)- Add
.customProgramCacheKey()
. #24096 (@sunag) - Fix
dpdx
anddpdy
called from non-uniform control flow inNormalMapNode
. #24062 (@sunag) - Add
.construct()
and some architectural changes. #24110 (@sunag) - Add sprites and support for
InterleavedBufferAttribute
. #24117 (@sunag)
-
RGBELoader
- Simplify texture configuration. #24032 (@deepkolos)
-
SelectionHelper
- Remove unused parameter from constructor. #24057 (@CarlBateman)
-
WebGPURenderer
Editor