three.js - r154


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r153--r154
https://github.com/mrdoob/three.js/milestone/67?closed=1

  • Global
  • Remove deprecated code. #26175 (@LeviPesin)
  • Add security policy. #26204 (@pnacht)
  • Loader
  • Add DEFAULT_MATERIAL_NAME. #26188 (@kovacsv)
  • Material
  • Add alphaHash transparency mode. #24271, #26341 (@donmccurdy)
  • MeshPhysicalMaterial
  • Fix shader error for clear coat/anisotropy when normal map is missing. #26334 (@repalash)
  • WebGLObjects
  • Optimize InstancedMesh updates. #26300 (@Mugen87)
  • WebGLProgram
  • Don't use tangents when flat shading. #26197 (@WestLangley)
  • WebGLRenderer
  • Rename encodings_fragment to colorspace_fragment. #26206, #26269 (@WestLangley)
  • Rename output_fragment to opaque_fragment. #26278 (@WestLangley)
  • Fix incorrect argument passed to clearBufferuiv. #26249 (@gkjohnson)
  • Fix shadow update when object is culled. #26293, #26299 (@OndrejSpanel, @Mugen87)
  • Test that WebGLRenderingContext exists. #26306 (@linev)
  • Fix feedback loop in transmission pass for WebGL 2. #26177 (@Mugen87)

Documentation

  • Improve Color page. #26210 (@donmccurdy)
  • Improve LineBasicMaterial page. #26228 (@Mugen87)
  • Improve PlaneGeometry page. #26248 (@tomhsiao1260)
  • Improve number and code formatting. #26147, #26181 (@afilahkle)
  • Improve Arabic translation. #26176, #26182, #26195, #26194, #26202, #26209, #26226, #26230, #26250, #26263, #26277, #26297, #26323 (@afilahkle)
  • Improve Chinese translation. #26215, #26216, #26223, #26273 (@appache163, @supan0228)
  • Improve French translation. #26310 (@Patzi275)
  • Dedent code node content correctly. #26115 (@ycw)
  • Use useLegacyLights=false in browsers. #26291 (@Mugen87)

Manual

  • Fix typo in prerequisites.html. #26315 (@DrejT)

Examples

  • Clean up. #26193, #26238, #26260 (@Mugen87, @sunag)
  • More usage of WebGLRenderer.useLegacyLights = false. #26218, #26267, #26274, #26275, #26280, #26284, #26286, #26288, #26290 (@Mugen87, @sunag)
  • Update BVH and CSG library versions. #26203 (@gkjohnson)
  • Update from GammaCorrectionShader to OutputPass. #26129 (@donmccurdy)
  • Change how after-image effect is toggled. #26321 (@Mugen87)
  • Fix displacement map usage of velocity shader. #26324 (@Mugen87)
  • Use construct() in webgpu_instance_uniform example. #26336 (@sunag)
  • Added blurred option in webgpu_backdrop_area example. #26342 (@sunag)


  • ArcballControls
  • Add rotateSpeed. #26332 (@begmec)

  • CopyShader

  • Assume render targets have premultiplied alpha. #26179 (@Mugen87)

  • FlyControls

  • Introduce enabled property. #26154, #26339 (@andredsm, @Mugen87)

  • MeshSurfaceSampler

  • Add uv support. #26207 (@makc)
  • Add support for interpolated normals. #26219 (@makc)
  • Remove need for non indexed geometry. #26268 (@gkjohnson)

  • NodeMaterial

  • Clean up. #26271 (@sunag)
  • Fix uv attributes. #26220 (@sunag)
  • Fix cacheKey. #26227 (@sunag)
  • Fix default forceSinglePass and alphaMap. #26231 (@sunag)
  • Add two missing shader functions. #26237 (@aardgoose)
  • Fix VideoTexture in WebGPUBackend and ColorSpaceNode. #26261 (@sunag)
  • Simplify Node.getChildren(). (@LeviPesin)

  • OculusHandPointerModel

  • Cleanup on disconnect, implement dispose(). #26262 (@CodyJasonBennett)

  • PLYLoader

  • Add vertex colors back. #26214 (@Mugen87)
  • Fix handling binary files with \n\r line endings in header. #26232 (@aardgoose)

  • TAARenderPass

  • Fix color shift. #26199 (@Mugen87)

  • TSL

  • Add editor. #26270, #26283 (@sunag)
  • Move ShaderNode to tslFn(). #26311 (@sunag)

  • WebGPURenderer

  • Don't set redundant state. #26186 (@sunag)
  • Backdrop Node - Part 2/3. #26196 (@sunag)
  • Add clear coat support. #26211 (@sunag)
  • Support Material.blending = NoBlending. #26295 (@aardgoose)
  • Handle interleaved instanced buffers correctly. #26304 (@aardgoose)
  • Improve reuse programs in WebGPUPipelines. #26305 (@sunag)
  • MorphNode 1/2 and updates. #26325 (@sunag)
  • Add readRenderTargetPixelsAsync(). #26326 (@aardgoose)
  • Add sheen support. #26329 (@sunag)
  • Render Pass ID and Double Pass. #26333 (@sunag)

Tests

  • Use new headless mode for E2E tests. #25982 (@LeviPesin)
  • Replace BrowserFetcher with @puppeteer/browsers. #26282 (@LeviPesin)

Editor

  • Remove dependency to deleted ColladaExporter. #26243 (@Mugen87)
  • Fix LDrawLoader usage. #26294 (@Mugen87)
  • Fix import of TGA textures. #26316 (@Mugen87)

Details

date
June 29, 2023, 3:04 a.m.
name
r154
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