three.js - r139
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r138--r139
https://github.com/mrdoob/three.js/milestone/52?closed=1
- Global
- Improve ESLint setup. #23603, #23763, #23767 (@gsimone, @CodyJasonBennett)
- Fix inheritance in
Three.Legacy.js
. #23621 (@Mugen87) - More usage of
fromBufferAttribute()
. #23769 (@LeviPesin) - CapsuleGeometry
- Add new geometry generator. #23586 (@gsimone)
- Color
- Clamp values in
getHex()
. #23582 (@mrdoob) - Add
colorSpace
argument for getters/setters. #23392 (@donmccurdy) - CubeCamera
- Disable
outputEncoding
andtonemapping
. #23581 (@mrdoob) - DataUtils
- Added
fromHalfFloat()
, rewritetoHalfFloat()
. #23596 (@Mugen87) - Material
- Remove docstrings. #23651, #23661 (@deepansh96, @Mugen87)
- MathUtils
- Fix
seededRandom()
. #23590 (@Mugen87) - Make UUID RFC compliant. #23679, 8a97f905665c8ffb7a247be94410c93c30d1203b (@Mugen87, @mrdoob)
- MeshStandardMaterial
- Remove
CubeUVRefractionMapping
andrefractionRatio
. #23682 (@Mugen87) - PMREMGenerator
- Fix
dispose()
. #23697 (@Mugen87) - PositionalAudio
- Disconnect panner in
disconnect()
. #23703 (@mrdoob) - Source
- Expose class. #23619 (@Mugen87)
- VideoTexture
- Fix color space when using with
Scene.background
. #23782 (@Mugen87) - WebGLBindingStates
- Force update after
reset()
call. #23691 (@boourns) - WebGLMaterials
- Clean up. #23713 (@mrdoob)
- WebGLMorphtargets
- Fix normalized morph color attribute. #23654 (@donmccurdy)
- Use
texelFetch()
to sample morph target texture. #23727 (@Mugen87) - WebGLProgram
- Only log the lines around the error. 9d61e463ea09f71edb285857590cbd92f24e2ce2 (@mrdoob)
- WebGLRenderer
- Remove artist-friendly factor of PI from light map shader. #23613 (@WestLangley)
- Use
self
instead ofwindow
. #23686 (@begmec) - Clean up. #23717, #23755 (@Mugen87, @alan-wu)
- Remove call to
checkFramebufferStatus()
. #23770 (@greggman) - WebGLRenderTarget
- Set
texture.flipY
tofalse
. #23607 (@WestLangley) - Fix
copy()
. #23732 (@Mugen87) - WebGLShaderCache
- Fix
remove()
. #23624 (@Mugen87) - WebGLTexture
- Call
invalidateFramebuffer()
only in Oculus Browser. #23692 (@mrdoob) - WebGLUtils
- Add WebGL constant fallback to
convert()
. #23813 (@Mugen87)
Documentation
- Improve
BufferAttribute
page. #23620, #23772 (@Mugen87, @donmccurdy) - Improve
BufferGeometry
page. #23740 (@Mugen87) - Improve
Clock
page. #23739 (@Mugen87) - Improve
DepthTexture
page. #23626 (@stevinz) - Improve
Quaternion.multiplyQuaternionsFlat()
. #23577 (@Mugen87) - Improve
TransformControls
page. #23718 (@deepansh96) - Improve Chinese translation. #23623, #23643, #23709, #23749, #23778 (@towhare, @jovey-zheng, @1337816495)
- Improve
Creating text
guide. #23584 (@r00ster91) - Improve
Useful links
guide. #23746 (@linbingquan) - New property description for
is*
flags. #23583 (@ycw) - Fix transparency in material browser. #23576 (@Mugen87)
- Mentioned Import Maps in
Installation
guide. #23595 (@Mugen87) - Add
OBJExporter
page. #23674 (@Mugen87) - Fix typos. #23723, #23722, #23725 (@jasonsturges)
- Add documentation for color management. #23430 (@donmccurdy)
- Escape strings in regex search. #23729 (@Mugen87)
Manual
- Improve Chinese translation. #23721, #23715 (@maslke)
- Fix typos. #23726 (@jasonsturges)
Examples
- Clean up. #23632 (@WestLangley)
- Remove
webgl_postprocessing_ssrr
example andSSRrPass
. #23569 (@mrdoob) - Orient objects normal to hittest in
webxr_ar_hittest
. #23573 (@nosy-b) - Simplify some render target setups. #23669 (@Mugen87)
- Fix opacity in copy and blend shaders. #23671 (@Mugen87)
- Add
webgpu_depth_texture
example. #23665 (@sunag) - Add canvas
font
property order fix. #23685 (@mkeblx)
- BloomPass
-
Use custom combine shader. #23667 (@Mugen87)
-
BufferGeometryUtils
- Add
MikkTSpace
version of.computeTangents()
. #23716, #23771, #23802 (@donmccurdy) -
Add
mergeGroups()
. #23756 (@Mugen87) -
CSM
-
Directional light without a shadow breaks shaders. #23631 (@OndrejSpanel)
-
FXAAShader
-
Simplify and add support for transparent backgrounds. #23768 (@bhouston, @DanielSturk)
-
GLTFExporter
- Export same mimetype as import. #23592 (@elalish)
-
Only merge
roughness
andmetalness
maps. #23616 (@mrdoob) -
GLTFLoader
- Simplify
loadImageSource()
. #23633 (@donmccurdy) - Reorganize texture encoding assignment. #23645 (@donmccurdy)
- Allow
ImageBitmapLoader
with Firefox. #23742 (@aardgoose) -
Fix
EXT_TEXTURE_WEBP
extension. #23823 (@gernotziegler) -
HtmlMesh
-
Properly handle comments. #23657 (@remmel)
-
LineSegments2
-
Add world units raycasting and
webgl_lines_fat_raycasting
example. (@bergden-resonai) -
Lut
-
Fix color definition and sampling. #23589 (@Mugen87)
-
NodeEditor
-
Add
FileURLEditor
+MatcapUVEditor
. #23705 (@sunag) -
NodeMaterial
- Various fixes and updates. #23600, #23647, #23648 (@sunag)
- Add
FogNode
. #23606 (@sunag) - Add label and temp functions to
ShaderNode
. #23546 (@LeviPesin) - Unify type conversion functions in
ShaderNode
. #23601 (@LeviPesin) - Prevent
ShaderNodeObjecting
aShaderNodeObject
. #23629 (@LeviPesin) - Add
BoolNode
andUintNode
. #23636 (@LeviPesin) - Refactor
NodeBuilder.format()
. #23638 (@LeviPesin) - Add
buffer()
function. #23656 (@LeviPesin) - Add ivec, uvec, bvec, imat, umat, and bmat. #23646 (@LeviPesin)
- Fix properties shared across instances. #23706 (@wmcmurray)
- Split
InputNode
intoConstNode
andUniformNode
. #23663 (@LeviPesin) - Fix support for extended classes. #23724 (@sunag)
- Add
CubeTexture
for WebGPU and WebGL. #23743 (@sunag) - Update
ConvertType
. #23635 (@LeviPesin) - Remove unneeded constants from
ShaderNode
. #23765 (@LeviPesin) -
Keywords support in
FunctionNode
. #23766 (@sunag) -
PCDLoader
-
Fix ASCII RGB parsing. #23735 (@segments-tobias)
-
SceneUtils
-
Add
.createMeshesFromMultiMaterialMesh()
. #23762 (@Mugen87) -
TrackballControls
-
Fix property access in
onTouchEnd()
. #23658 (@wasabia) -
USDZExporter
-
Support opacity materials. #23588 (@yuta-hayashi)
-
ViewHelper
-
Fixed
container
is not defined. #23605 (@linbingquan) -
VTKLoader
- Fix parsing of VTP data with multiple components. #23684 (@eino)
- Fix parsing VTP containing DataArrays of type
Int32
. #23699 (@eino) -
Fix bit shift when parsing large buffers. #23720 (@eino)
-
WebGPURenderer
- Add basic implementation of
WebGPURenderStates
. #23652 (@sunag) - Set
compositingAlphaMode
. #23776 (@sunag)
Editor
- Clean up. #23618 (@linbingquan)
- Fix deprecated error for
matchMedia.addListener
. #23610 (@linbingquan) - Fix
getIntersects()
for objects with invisible parents. #23617 (@mrdoob) - Refactor animations panel. #23714 (@mrdoob)
- Add support for
vtp
files. f1336138f4703435c532d787975467f01a5c7a94 (@mrdoob)
Details
- 🔍View and search all three.js releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!