three.js - r140


https://github.com/mrdoob/three.js/wiki/Migration-Guide#r139--r140
https://github.com/mrdoob/three.js/milestone/53?closed=1

  • Global
  • Make Euler, Quaternion and Color iterable. #23796 (@Mugen87)
  • CubeCamera
  • Clean up. #23908, #23935 (@mrpink17, @Mugen87)
  • Material
  • Move fog property to materials which support it. #23939 (@Mugen87)
  • MeshDepthMaterial
  • Fix broken depthPacking. #23801 (@Mugen87)
  • PMREMGenerator
  • Add workaround for Pixel phones. #23841 (@elalish)
  • SkinnedMesh
  • Require floating point vertex textures. #23928 (@Mugen87)
  • WebGLBackground
  • Ensure textured backgrounds work with all layers. #23812 (@Mugen87)
  • WebGLBindingsStates
  • Avoid redundant updates when using InstancedMesh. #23653 (@snagy)
  • WebGLLights
  • Remove redundant computation. #23893 (@Mugen87, @WestLangley)
  • WebGLMultipleRenderTargets
  • Fix copy(). #23781 (@RenaudRohlinger)
  • WebGLProgram
  • Support logging errors with no line numbers. #23843 (@gkjohnson)
  • WebGLRenderer
  • Fix transmission render target type check. #23885 (@chubei-oppen)
  • Make context check more safe. #23969 (@soadzoor)
  • WebGLRenderTarget
  • Fix regression when cloning / copying after Source API addition. #23997 (@gkjohnson)
  • WebGLTextures
  • Ensure texStorage2D() is called when forceUpload is true. #23808 (@Mugen87)
  • Fix memory allocation of DepthTexture and FramebufferTexture. #23854, #23868 (@chubei-oppen)
  • WebGLUniforms
  • Remove unused function. #23911 (@RenaudRohlinger)
  • WebXRManager
  • Fix for hand controllers. #23830 (@cabanier)
  • Add .setReferenceSpace(). #20949, #23920 (@arodic, @Mugen87)

Documentation

  • Clean up. #23804 (@zeh)
  • Move Color management under Next steps. #23794 (@donmccurdy)
  • Improve BufferAttribute page. #23960 (@gsimone)
  • Improve CCDIKSolver page. #23449 (@abernier)
  • Improve DirectionalLightShadow page. #23952 (@kryzodoze)
  • Improve FontLoader page. #23899 (@jynxio)
  • Improve Installation guide. #23788 (@HossamAbdelNasser)
  • Improve Libraries and Plugins guide. #23876 (@gkjohnson)
  • Improve Matrix4 page. #23825 (@makc)
  • Improve MeshPhysicalMaterial page. #23831 (@Mugen87)
  • Improve PointsMaterial page. #23892 (@Mugen87)
  • Improve Useful links guide. #23839 (@Ahlecss)
  • Improve WebGLRenderer page. #23851 (@gkjohnson)
  • Improve WebGLRenderTarget page. #23844 (@OndrejSpanel)
  • Switch to gender neutral terms. #23816 (@inclusive-coding-bot)
  • Fix color values in material browser. #23948 (@Mugen87)
  • Mentioned the need for ImageBitmap.close(). #23959 (@Mugen87, @WestLangley)

Manual

  • Improve Chinese translation. #23811, #23850, #23878, #23938 (@MongooseSong, @BinarySky10)
  • Improve Korean translation. #23949 (@nerdchanii)
  • Improve Russian translation. #23942 (@Borodin)

Examples

  • Clean up. #23860, #23861 (@Mugen87, @sunag)
  • Add missing encodings fragment to default shader of Reflector and Refractor. #23863 (@Mugen87)
  • Expose virtual camera of Reflector and Refractor as a property. #23890 (@LR17)
  • Port webgpu_compute to use node classes. #23931 (@LeviPesin)


  • ArcballControls
  • Fix drifting when zooming with the mouse cursor. #23838, 9a836651e6ae8c7c4f7434cd8121e5b6fdc06274 (@Tirzono, @mrdoob)

  • BufferGeometryUtils

  • Rename and improve warnings for MikkTSpace tangents. #23815 (@donmccurdy)
  • Add deinterleaveAttribute(), deinterleaveGeometry() functions. #23814 (@gkjohnson)
  • Remove use of old Material.morphTargets property. #23955 (@willstott101)

  • FBXLoader

  • Fix uv translation being ignored. #23834 (@hybridherbst)

  • GLTFExporter

  • Add WebWorker support. #23857, 340d588ca21de2401f459e402310ec440720d686 (@robertlong, @mrdoob)
  • Check for document before creating OffscreenCanvas. #24035 (@robertlong, @CodyJasonBennett)

  • GLTFLoader

  • Support animation loading via extension. #23810 (@marwie)
  • Add KHR_materials_emissive_strength. #23867 (@hybridherbst)
  • Honor Firefox version when checking for ImageBitmap. #23909 (@Mugen87)

  • MarchingCubes

  • Add update(). #23934 (@gkjohnson)

  • MMDLoader

  • Handle shininess properly. #23889 (@takahirox)

  • NodeMaterial

  • Don't convert type of node if it is not needed. #23786 (@LeviPesin)
  • Rework build and make other updates. #23797 (@LeviPesin)
  • Fix uint usage in ShaderNodeUtils. #23817 (@sunag)
  • Cleanup ShaderNode. #23820 (@LeviPesin)
  • Fix cache. #23828 (@sunag)
  • Updates and revision. #23872 (@sunag)
  • Add missing InstanceNode to Nodes. #23880 (@LeviPesin)
  • Fix uniform function in ShaderNodeElements. #23879 (@LeviPesin)
  • Add ComputeNode. #23905, #23944 (@sunag)
  • Add more exports to ShaderNode. #23901 (@LeviPesin)
  • Add two sides support to NormalMapNode. #23971, #23982 (@sunag)

  • TTFLoader

  • Upgrade opentype.js. #23845 (@Mugen87)

  • UnrealBloomPass

  • Remove unused uniform. #23954 (@gsimone)

  • VRButton

  • Add workaround for WebXRViewer. #23805, 149069fe45acef5d392f9442e87c385dfc95131e (@hybridherbst, @mrdoob)

  • WebGPURenderer

  • Update to latest WebGPU API. #23826 (@sunag)
  • Set compositingAlphaMode to premultiplied. #23827 (@sunag)
  • Add instancing support. #23835 (@sunag)
  • Ensure clear color is alpha premultiplied. #23853 (@Mugen87)
  • Fix Material.side configurations. #23965 (@sunag)

Editor

  • Fix broken compute vertex normals button. #23865 (@Mugen87)
  • Add CapsuleGeometry. #23914 (@linbingquan)
  • Add support for Material.userData. #23967 (@Mugen87)- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Details

date
May 10, 2022, 2:49 a.m.
name
r140
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