three.js - r156


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r155--r156
https://github.com/mrdoob/three.js/milestone/69?closed=1

  • Global
  • Improve naming of module scope variables. #26603 (@linbingquan)
  • Update es-module-shims. #26605, #26606 (@linbingquan)
  • Export createCanvasElement() as a utility method. #26601 (@linbingquan)
  • Use Math.trunc() in roundToZero() vector methods. #26643 (@ycw)
  • Audio
  • Prevent null source error in disconnect(). #26597 (@takahirox)
  • Object3D
  • Clone material arrays. #26589 (@jespertheend)
  • Fix clear() emitting removed events too early. #26625 (@ycw)
  • VideoTexture
  • Restore inline sRGB decode. #26521 (@Mugen87)
  • WebGLBackground
  • Respect autoClear in XR. #26428 (@CodyJasonBennett)
  • WebGLRenderer
  • Remove material condition for unconditional uniforms. #26467 (@SoprachevAK)
  • WebXRManager
  • Remove redundant updateMatrixWorld() calls. #26201 (@mrxz)

Documentation

  • Improve CameraUtils page. #26591 (@Mugen87)
  • Improve Matrix3 page. #26617, #26627 (@mgroth0, @Mugen87)
  • Improve MeshPhysicalMaterial page. #26543 (@mjurczyk)
  • Improve OBB page. #26522 (@balraj-johal)
  • Improve Object3D page. #26636 (@alone-as-a-god)
  • Improve OrbitControls page. #26541, #26547 (@Mugen87, @WestLangley)
  • Improve SpotLight page. #26645 (@ycw)
  • Improve WebGLRenderer page. #26670 (@alone-as-a-god)
  • Improve Chinese translation. #26511 (@newstart0514)
  • Remove ColladaExporter page. #26592 (@skyclouds2001)
  • Update page.js to handle inline code with newline chars. #26622 (@ycw)

Manual

  • Update monaco-editor to 0.40.0. #26503 (@linbingquan)

Examples

  • Clean up. #26530, #26639, #26650 (@Methuselah96, @Mugen87, @WestLangley)
  • Bubble parsing errors in remaining data texture loaders. #26499 (@Mugen87)
  • Disable damping in webgl_materials_alphahash example. #26519 (@Mugen87)
  • Update UTIF module. #26526 (@Mugen87)
  • Fix PMREMGenerator usage in webgl_shaders_ocean example. #26580 (@skyclouds2001)
  • Fix flickering in webgl_decals example. #26593 (@Mugen87)
  • Add GUI to misc_exporter_usdz example. #26607 (@Mugen87)
  • Prevent aspect distortion in webgpu_compute_texture. #26651 (@WestLangley)
  • Enable anti-aliasing in WebGPU examples. #26653 (@linbingquan)
  • Add stats to webgpu_compute_particles example. #26665 (@linbingquan)
  • Updated tween.module.js to 21.0.0. #26669 (@linbingquan)
  • Exposure adjustments for WebGPU examples. #26672 (@sunag)


  • CSMShader
  • Update to latest light shader chunks. #26506 (@max-sym)

  • DDSLoader

  • Improve support for BC6H textures. #26608, #26620 (@CoryG89, @Mugen87)

  • FBXLoader

  • Store original (not sanitized) node name in Object3D.userData. #26641 (@janulis)

  • FilmPass

  • Simplify implementation. #26573 (@Mugen87)

  • GLTFLoader

  • Specify color space of inputs. #26534 (@donmccurdy)

  • KTX2Loader

  • Add support for ASTC 6x6 format #26586 (@donmccurdy)

  • MMDLoader

  • Apply color management to textures. #26554 (@donmccurdy)

  • NodeMaterial

  • Fix construct() node data in NodeBuilder. #26533 (@sunag)
  • Add LineDashedNodeMaterial. #26528, #26542 (@aardgoose, @sunag)
  • Add ViewportNode.VIEWPORT. #26540 (@aardgoose)
  • Use context.tempWrite=false for conditionals in TextureNode. #26574 (@sunag)
  • Fix .getNodeType() if .construct() return some Node. #26631 (@sunag)
  • Add HashNode. #26663 (@sunag, @LeviPesin)

  • OrbitControls

  • Support frame rate independent autoRotate. #26472 (@Issung)
  • Fix zoomToCursor when objects are changed. #26549 (@xiaowangxu)

  • RenderPass

  • Make clear color and alpha independent. #26638 (@Mugen87)

  • SAOPass

  • Improve performance, fix visuals. #26599 (@Mugen87)

  • SSAOPass

  • Prevent color shift of background. #26594 (@Mugen87)
  • Remove internal beauty pass. #26596 (@Mugen87)

  • STLLoader

  • Add group names. #26538 (@AngyDev)

  • TSL

  • Add textureStore() and example. #26648, #26653, #26654 (@sunag)

  • WebGLBackend

  • Initial support. #26581, #26671 (@sunag)

  • WebGLNodeBuilder

  • Get real color type. #26524 (@sunag)
  • Support more than four UV layers. #26575 (@sunag)

  • WebGPURenderer

  • Add support for alphaToCoverage. #26513 (@aardgoose)
  • Fix clear() inheriting state from previous render() & clear() passes. #26514 (@aardgoose)
  • Add data-engine attribute to canvas. #26544 (@linbingquan)
  • Performance revision. #26556 (@sunag)
  • Add occlusion queries. #26335, #26584 (@aardgoose, @sunag)
  • Fix DataTexture with FloatType. #26585 (@sunag)
  • Add Backend.generateMipmaps(). #26609 (@sunag)
  • Support for multiple render targets. #26409 (@aardgoose)

Details

date
Aug. 31, 2023, 2:50 p.m.
name
r156
type
Major
👇
Register or login to:
  • 🔍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!
Continue with GitHub
Continue with Google
or