-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BufferGeometry: Renamed uv2, uv3, uv4 to uv1, uv2, uv3 #25943
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
…etAttribute() and deleteAttribute().
The |
I've updated all the code locally and I'm not loving this new pattern: this.setAttribute( 'position', new Float32BufferAttribute( vertices, 3 ) );
this.setAttribute( 'normal', new Float32BufferAttribute( normals, 3 ) );
- this.setAttribute( 'uv', new Float32BufferAttribute( uvs, 2 ) );
+ this.setAttribute( 'uv0', new Float32BufferAttribute( uvs, 2 ) ); I think for now I'm just going to go for this:
|
Hmm, I'm having a hard time trying to predict the side effects of this code: // Backwards compatibilty
Object.defineProperties( this.attributes, {
'uv2': {
set: function ( value ) {
if ( this.uv1 === undefined ) {
console.warn( 'THREE.BufferGeometry: The attribute uv2 has been renamed to uv1.' );
this.uv1 = value;
}
delete this.uv2;
},
configurable: true
}
} ); I feel this code may break more things than fix... |
|
||
intersection.uv2 = Triangle.getInterpolation( _intersectionPoint, _vA, _vB, _vC, _uvA, _uvB, _uvC, new Vector2() ); | ||
intersection.uv1 = Triangle.getInterpolation( _intersectionPoint, _vA, _vB, _vC, _uvA, _uvB, _uvC, new Vector2() ); | ||
intersection.uv2 = intersection.uv1; // Backwards compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add deprecation comment // @deprecated, r152
here?
@@ -37,9 +37,9 @@ function WebGLPrograms( renderer, cubemaps, cubeuvmaps, extensions, capabilities | |||
|
|||
function getChannel( value ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think this function would be simpler just as
return value === 0 ? 'uv' : `uv${ value }`;
... Just as you did with the FBXLoader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that the ids are the same the code is more readable yes.
commit ab698b33c313b478093001fb3a26ddb9d274642a Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 27 18:32:25 2023 +0900 r152 commit ba1f08c49b628778ac95624e283725e908f4a61b Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Thu Apr 27 11:29:07 2023 +0200 Editor: Fix clone of skinned meshes. (#25945) commit b19cb1812c138a84329ed068bc3ffb758f746292 Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 27 18:28:37 2023 +0900 Examples: Updated webxr_xr_dragging screenshot. commit 226d95c1a7a372b5871491e8a7e2a4a401d47107 Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 27 17:58:54 2023 +0900 Updated builds. commit 0f81064166bc869f6c65a97f55a9edf693415fd4 Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 27 17:58:16 2023 +0900 Examples: Implemented simpler floor clipping technique in xr examples. commit ef03bdcfd14d5c8f1b70a3a04a3307891972c492 Author: mrdoob <info@mrdoob.com> Date: Thu Apr 27 01:57:09 2023 -0700 BufferGeometry: Renamed uv2, uv3, uv4 to uv1, uv2, uv3 (#25943) * BufferGeometry: Rename uv, uv2, uv3, uv4 to uv_0, uv_1, uv_2, uv_3. * BufferGeometry: Clean up. * Clean up. * WebGLPrograms: Clean up. * Renamed uv_0, uv_1, uv_2, uv_3 to uv0, uv1, uv2, uv3. * BufferGeometry: Rename uv to uv0 in getAttribute(), hasAttribute(), setAttribute() and deleteAttribute(). * BufferGeometry: Removed uv to uv0 warnings. * MMDLoader: Renamed uv to uv0. * Examples: Fixed webgl_modifier_subdivision. * Revert uv to uv0 change. * BufferGeometry: Remove redundant uv2 code. * Mesh: Renamed uv2 instances to uv1. * ShaderMaterial: Renamed uv2 instance to uv1. * Exporters: Renamed uv2 instances to uv1. * Loaders: Renamed uv2 instances to uv1. * Examples: Renamed uv2 instances to uv1. * Docs: Updated relevant pages. * BufferGeometry: Removed backwards compatibility code. * Examples: Removed redundant code. * LWOLoader: Removed redundant code. * LWOLoader: Clean up. commit 4865fee0c3036cff77d99263425a1af34db7061a Author: Ash Connell <deminetix@gmail.com> Date: Thu Apr 27 13:11:51 2023 +1000 WebGLRenderer: Only update skeletons in frustum (#25937) commit 2675b7b2055dd8c714b16d6fee28ecbd0387f58e Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 26 22:18:47 2023 +0200 EffectComposer: Fix resizing of webgl2_multisampled_renderbuffers demo. (#25942) commit be3145a6e85b3ef605f419619b37543d944381ed Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 26 20:41:32 2023 +0200 Examples: Fix resizing of webgl2_multisampled_renderbuffers demo. (#25941) commit 3a1c9704c411ffc9e000f55ca53b95c021257107 Author: Don McCurdy <dm@donmccurdy.com> Date: Wed Apr 26 09:35:11 2023 -0400 Docs: Improve color space constant documentation (#25939) commit e4b8f3d623977586e16288e5590692b32771a970 Author: mrdoob <info@mrdoob.com> Date: Tue Apr 25 23:39:51 2023 -0700 WebGLRenderer: Add support for uv3 and uv4. (#25788) * WebGLRenderer: Add support for uv3 and uv4. * GLTFLoader: Add support for TEXCOORD_2 and TEXCOORD_3. commit 8be4325d6d42c9cbc13eab8cb36ba67e848b4081 Author: Vincent Fretin <vincent.fretin@gmail.com> Date: Wed Apr 26 07:39:09 2023 +0200 HTMLMesh: Remove the +0.5 offset for image (#25930) commit f9035d864253f131b767cc9b0ebf340eb1738891 Author: Mr.doob <info@mrdoob.com> Date: Wed Apr 26 14:18:59 2023 +0900 Examples: Improved WebGPU error message. commit c1bc1bfcb68d10eb75cdc671cdade28a7b21d312 Author: sunag <sunagbrasil@gmail.com> Date: Tue Apr 25 15:03:39 2023 -0300 NodeBuilder: Fix item size if there is no padding (#25934) * WebGPUBackground: Fix frustumCulled and cleanup * NodeBuilder: Fix item size if there is no padding commit 6a68319102833f16dfdaf9343a49c601f097dd94 Author: sunag <sunagbrasil@gmail.com> Date: Tue Apr 25 13:38:48 2023 -0300 WebGPURenderer: Improve vertex format support and revisions. (#25924) * EnvironmentNode: Fix flipY after improve positionWorldDirection * WebGPUBackground: Fix clip background * WebGPURenderer: Added update from https://github.com/mrdoob/three.js/pull/25913 * WebGPURenderer: Improve vertex format support. * Example webgpu_backdrop: Fix space * Added webgpu_loader_gltf_compressed example * cleanup commit 9fc2bfb4fdebb857a0885306321bafad80bcdef1 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 25 12:43:01 2023 +0200 Docs: Fix broken signatures. (#25931) commit 49cee8ee8dcae800e026e87f4857a4853a3a4322 Author: Renaud Rohlinger <renaud.rohlinger@gmail.com> Date: Tue Apr 25 18:21:17 2023 +0900 Refactor for...of loop to a traditional for loop (#25929) commit 45304ac64b3943173f5272b134031ed36aadaf68 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 25 10:13:05 2023 +0200 Object3D: Honor `animations` in `copy()`. (#25928) commit fbf16ee9847fc56d6adac1fba39f9bc5e4ab88d8 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 24 23:45:55 2023 -0400 Docs: Clean up color space references. (#25922) * Docs: Update references to ColorSpace * ColorSpace / string * Revert unintended change commit 880839159ef3a3baad6d4961d905538a61b8d499 Author: Greggman <github@greggman.com> Date: Tue Apr 25 02:36:58 2023 +0200 Workaround bug in firefox. (#25918) Without this change, each editor adds to the browser's history and you have to click the back button once for each editor commit 888ced843e1c35c3a55d9be260202b3af3b2eeca Author: Vincent Fretin <vincent.fretin@gmail.com> Date: Mon Apr 24 22:57:59 2023 +0200 HTMLMesh: Render image at the correct position (#25916) commit fab4ed4aacf8d3c9e1d1bcdb2e165865691d24f3 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 24 03:45:05 2023 -0400 WebGLRenderer: Sort on bounding sphere center, not origin (#25913) * WebGLRenderer: Sort on bounding sphere center. * Update screenshot for webgl_buffergeometry_drawrange. commit f39297c3f46519d07679f28b4cf2d6e3db240380 Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 23 23:14:54 2023 -0400 Examples: Update more examples for color management. (#25912) commit 70e3c5228456370bc64f0dfd237a01ca8b7edd3a Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Apr 24 00:17:08 2023 +0000 Update devDependencies (non-major) (#25911) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 4dc6f93820ae30c05842964ad15dd2f3ff04a13b Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 23 04:28:24 2023 -0400 Examples: Updates for color management (pt4) (#25907) * Examples: Update more examples for color management. * Examples: Update more examples for color management. * Update webgl_materials_blending.html --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 22242d5931bd7f99f881c55324a22f34fdfe4de4 Author: Hamir Mahal <hamirmahal@gmail.com> Date: Sun Apr 23 01:24:03 2023 -0700 OBJLoader: Clarify comment skips. (#25906) * docs: make comment check more self-documenting * make suggested change commit 2d1621f76a92a5f17527cc0c1d4a9be546ab6416 Author: sunag <sunagbrasil@gmail.com> Date: Sat Apr 22 12:51:41 2023 -0300 WebGPURenderer: Backdrop Node - Part 1/3 (#25903) * WebGPURenderer: Fix re-configure context * WebGPURenderer: Improve state in favor of access WebGPU encoders * NodeMaterial: Reduce duplicate initialization of properties * WebGPUTextures: Support RenderTargetTexture mipmaps if necessary. * WebGPUBackground: Move to renderState * WebGPUNodes: .updateBefore() fixes * WebGPURenderer: Added .copyFramebufferToRenderTarget() * NodeMaterial: Added backdropNode * Added webgpu_backdrop example * update title * cleanup * rotate just on idle * WebGPURenderList: Update include commit 0588487f38829186e8140ae238082b0f9212313f Author: sunag <sunagbrasil@gmail.com> Date: Sat Apr 22 07:02:37 2023 -0300 WebGPURenderer: Make work without three/nodes (#25904) commit 39936f7ec109fb8f8dc1ee6da95d2293188606f8 Author: Mr.doob <info@mrdoob.com> Date: Sat Apr 22 19:01:15 2023 +0900 Examples: Updated ammo and rapier instancing examples. commit 2673ebffbaf3273f7c43569b3f9d80c9ac454c38 Author: Mr.doob <info@mrdoob.com> Date: Sat Apr 22 18:51:34 2023 +0900 Updated builds. commit 49f7bf498e1b37a65b215a17820fb536f44ab2a1 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Apr 21 10:45:45 2023 +0200 Update .eslintrc.json commit 8ef744e70f80dfeba1a79cf2e86219f7915c4320 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Apr 21 10:44:50 2023 +0200 Update RapierPhysics.js commit 4d3960fd1caff32e1ca716aee6e857395f03b9a3 Author: Gerocer <75399175+Gerocer@users.noreply.github.com> Date: Fri Apr 21 16:43:46 2023 +0800 Update Installation.html (#25896) commit 285dd1cb78a4a64a0e78e2eac05ae97658b47253 Author: Mr.doob <info@mrdoob.com> Date: Fri Apr 21 09:42:13 2023 +0900 Examples: Intensified ammo and rapier examples. commit e60da97b59c2b5cab3f719d968b1e195d212b6d7 Author: Mr.doob <info@mrdoob.com> Date: Fri Apr 21 09:21:35 2023 +0900 RapierPhysics: Hardcode package path inside the wrapper. commit 07d8b70677ae7de7d75e2e3bed49aafcabcd205f Author: mrdoob <info@mrdoob.com> Date: Thu Apr 20 17:19:04 2023 -0700 Removed OimoPhysics example. (#25895) commit 66c460eca3c025678ff2bc0aa423f4ba10e9571e Author: Don McCurdy <dm@donmccurdy.com> Date: Thu Apr 20 13:46:01 2023 -0400 Examples: Updates for color management (pt3) (#25889) * LWOLoader: Updates for color management * MMDLoader: Updates for color management * Examples: Update more loader examples for color management --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 1a4ed58475e054638fdcc4dbea473417a72907b8 Author: mrdoob <info@mrdoob.com> Date: Thu Apr 20 07:34:42 2023 -0700 Added Rapier example (#25892) * Added Rapier example. * Updated screenshot. * Fixed DeepScan issue. * RapeirPhysics: Added world.timestep. commit 39edf971326555f6736c5b9704966f3e8acec033 Author: tfreifeld <tfreifeld@gmail.com> Date: Thu Apr 20 16:12:40 2023 +0300 MaterialLoader: Honor `clipping` and `lights` properties. (#25891) * fix: MaterialLoader now honors clipping and lights properties * fix: ShaderMaterial.toJSON() serializes lights and clipping properties --------- Co-authored-by: Tamir Freifeld <tamir@allseated.com> commit 43915eeec4da1e933c9229c653b9aad6b36d6af0 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Thu Apr 20 15:12:27 2023 +0200 WebGPUTextures: Add `DepthStencilFormat` support. (#25890) commit 3db1e97710c31bdcb4ca2cbcd6da8ee8a2364e6e Author: Don McCurdy <dm@donmccurdy.com> Date: Wed Apr 19 20:08:17 2023 -0400 Examples: Update more examples for color management. (#25882) * Examples: Update misc_exporter_gltf and misc_exporter_ply for color management. * Examples: Update 3MF examples for color management. * Examples: Update webgl_loader_draco for color management. * Examples: Update LDraw examples for color management. * Loaders: Update color space assignmentin 3MF, LDraw, and SVG loaders. * LDrawLoader: Clean up, fix emissive. * LDrawLoader: Clean up commit 8b8c86b4e617d4c2300f5640fa5d9ac3453c2163 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 19 17:20:26 2023 +0200 WebGPUTextures: Support more depth texture types. (#25886) commit 4843e710b333b8d23cf011751130b089d597471c Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 19 10:35:52 2023 +0200 WebGPURenderer: Simplify `init()`. (#25885) commit 7addd2afbb97447c9db0d958a04d595176bf4e30 Author: pmjo <pmjo@pmjo.org> Date: Wed Apr 19 11:29:05 2023 +0300 Fix computeMikkTSpaceTangents (#25884) commit 7b04b508e32275b18f5def78c40ca38f426b7b2a Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Wed Apr 19 17:30:23 2023 +1000 Puppeteer E2E test: Increase timeout from 15 to 20 minutes (#25880) commit 6e2282c4763901ad01dbc98f932270211e072aca Author: Garrett Johnson <garrett.kjohnson@gmail.com> Date: Wed Apr 19 16:29:57 2023 +0900 Adjust lego pathtraced materials (#25883) * Upgrade pathtracer to 0.0.14 * Adjust PT materials * Adjust materials commit 64c8d59ac9f57ac6e8737d32f01340ec304c5364 Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Wed Apr 19 05:41:42 2023 +1000 NodeMaterial.fromMaterial(): Support copying getters and setters (#25861) * NodeMaterial.fromMaterial(): Support copying getters and setters * Fix * update screenshot * Fix --------- Co-authored-by: sunag <sunagbrasil@gmail.com> commit fbc3a0d6a766b8f717ff7db7e38c4ccccd07fd97 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 18 21:07:44 2023 +0200 WebGPURenderer: Introduce `hasFeature()`. (#25878) * WebGPURenderer: Introduce `hasFeature()`. * WebGPURenderer: Use Error instead of warning. commit 3c892258ba1e63ecb7b932a9205164d44dac8bd4 Author: Garrett Johnson <garrett.kjohnson@gmail.com> Date: Tue Apr 18 23:16:43 2023 +0900 Upgrade pathtracer to 0.0.14 (#25879) commit ee2a5f2954a3f3d8030594c78fed03a3d37df317 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 18 12:16:46 2023 +0200 WebGPURenderer: Request all supported features. (#25875) commit 883df2ec97dfaedbd3e6a165a169da3a1b4cc5ad Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 18 10:12:16 2023 +0200 WebGPUTextures: Clean up. (#25876) commit 7359625c4b1273098cf20955f2c4ac577f7858dc Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 18 09:50:19 2023 +0200 KTX2Loader: Add WebGPU support. (#25867) * KTX2Loader: Add WebGPU support. * Examples: Clean up. commit f2850ea3e8686da3dee48717810384f86cd28d24 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 21:39:57 2023 -0400 Examples: Update games_fps and webgl_controls_fly for color management. (#25873) * Examples: Update games_fps for color management. * Examples: Update misc_controls_fly for color management. * Examples: Add GammaCorrectionShader to misc_controls_fly. commit b0d62f537120274f7c755d6fe8b061d1e1217d54 Author: Zach Burnaby <58493767+TheRedLancer@users.noreply.github.com> Date: Mon Apr 17 13:53:41 2023 -0700 Update webgl_camera_cinematic.html (#25869) Remove duplicate "onWindowResize" listener. commit a1700a5fae1e92599e11d5784052a329122fec42 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 12:34:50 2023 -0400 ColorManagement: Remove redundant enables (#25868) commit 84ddf2bc24885630f85ece09691f8d4447e25989 Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Tue Apr 18 01:46:44 2023 +1000 NodeMaterial: Clean up (#25860) commit e284aeefc7f0a238f2b31b9a51a24bd07764ea12 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 11:22:32 2023 -0400 ColorManagement: Enable by default (#25866) * ColorManagement: Enable by default * Update unit tests. commit 449c640267dfc64eee953d539db979edde7a1549 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 17 17:06:59 2023 +0200 WebGPUTextures: Basic support for ASTC. (#25865) * WebGPUTextures: Basic support for ASTC. * WebGPUTextures: Update _getBlockData(). commit a6603adbbb0fb90ce8b66949239775b086050281 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 17 16:20:23 2023 +0200 WebGPUTextures: Basic support for ETC2. (#25864) commit 25859b6bdf64a13301dffdad6369b0c675584aa4 Author: Mugen87 <michael.herzog@human-interactive.org> Date: Mon Apr 17 11:36:23 2023 +0200 Updated builds. commit fb705703801bcf42ab20654892d788fa600db138 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 17 11:35:21 2023 +0200 WebGLShadowMap: Clean up. (#25863) * WebGLShadowMap: Clean up. * WebGLShadowMap: More clean up. commit b1c731288af2532d9d9beabbcafc4b77cb60ada6 Author: digitalArt3DTobias <130747909+digitalArt3DTobias@users.noreply.github.com> Date: Mon Apr 17 11:10:30 2023 +0200 switching filters on switching shadow types fixed (#25847) Co-authored-by: unknown <jost.schmithals@musikalisches-zentrum-hx.de> commit fe6f945a09ecf1dfb2fc49778f06ab9538d2aba0 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 04:34:48 2023 -0400 Examples: Disable ColorManagement on examples requiring further changes (#25858) * Examples: Disable ColorManagement on examples requiring further changes. * Clean up * Clean up commit d9199e7f857885057e680b522169bbc93f946e54 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 04:34:01 2023 -0400 EXRLoader: Default to Linear-sRGB. (#25854) commit f786383070ead239b10fc81533db34c3d601474b Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 04:33:49 2023 -0400 HDRCubeTextureLoader: Default to Linear-sRGB. (#25856) commit 779572c05a3a3088a7a9f77620d8c49004960694 Author: Don McCurdy <dm@donmccurdy.com> Date: Mon Apr 17 04:33:39 2023 -0400 RGBELoader: Default to Linear-sRGB. (#25853) commit 2675ab2566be1cd7d1259d612419658780873afe Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 16 21:33:25 2023 -0400 Examples: Clean up legacy .outputColorSpace = LinearSRGBColorSpace examples (#25849) commit 4aa01718554ce12437247763d35a53f351fa0762 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Apr 16 23:04:09 2023 +0200 Update devDependencies (non-major) (#25850) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit c0f9208421f6c92f7e5ed8c25041637b6b9c5d88 Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 16 15:59:07 2023 -0400 Examples: Disable THREE.ColorManagement on remaining legacy examples. (#25851) commit dfac1d52ecbc7d77a307fe24a2e671143e041206 Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 16 03:49:15 2023 -0400 Examples: Clean up legacy .outputColorSpace = LinearSRGBColorSpace examples (#25844) commit 3ecdb99462ac545820972557a0e7a69f80223348 Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Sun Apr 16 17:46:29 2023 +1000 Puppeteer E2E test: Update Chromium version (#25840) commit a7de6c50c223b7a9a5623be6f48a5233df26efd5 Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 16 03:46:05 2023 -0400 GLTFExporter: Support multiple UV sets (#25843) commit 86d77e88af2fbce287f7e56a754eb6e163e435d8 Author: sunag <sunagbrasil@gmail.com> Date: Sun Apr 16 01:01:31 2023 -0300 WebGPUNodes: Fix equirectUV background (#25842) commit 8ad65c63db07e73c91e4a3f2c9bb6bc5301cfecb Author: Marco Fugaro <marco.fugaro@gmail.com> Date: Sat Apr 15 18:51:42 2023 +0200 Fix typo (#25841) commit dfb2b176ba47f224cfeee12ec004cd2093cc3b59 Author: Mugen87 <michael.herzog@human-interactive.org> Date: Sat Apr 15 10:21:16 2023 +0200 Updated builds. commit ccaa0fc7bfa56e86be68521aed2c41482446cc0f Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Sat Apr 15 18:20:34 2023 +1000 Color.getHex() and .getStyle(): Fix rounding errors (#25832) * Color.setHex(): Fix rounding errors * Fix the real problem * Similar fix in `.getStyle()` * Fix for bitwise operators precedence * Fix failing test (rounds in another direction?) commit 42a86a36a4f7990e735798542894b738db2eee0c Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Sat Apr 15 13:41:35 2023 +0530 docs lint-5 (#25827) * lint `docs/api/en/lights` * CHnages * SOme More Files Lint * Fix * Fix tag indentation * Fix * Some More fix * Why can't i get this fixed God damn it * DOne commit 160497a5a8db3c182c755b31a3f0900eb0ee0093 Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Sat Apr 15 18:10:55 2023 +1000 Color: Clean up (#25833) commit 4932c11659df92f166299ac3ccc580831ce6aa8f Author: Nuno Silva <nuno_nfss96@hotmail.com> Date: Fri Apr 14 20:10:42 2023 +0100 Fix wireframe toggle not being respected in md2 loader example (#25838) * Fix wireframe toggle not being respected in md2 example * Respect code style commit faeed757d77a3dd1a45d67b0ec5cbfe04a87fc72 Author: Marco Fugaro <marco.fugaro@gmail.com> Date: Fri Apr 14 10:35:20 2023 +0200 CI: Update sizes message (#25826) * Trigger report on utils/build * Remove custom three.module.min.js build * Update filesize message on PR * Update build command commit 7de573a94fcd7c4d306875769e353eaa77163616 Author: Marco Fugaro <marco.fugaro@gmail.com> Date: Fri Apr 14 10:35:04 2023 +0200 Add the whole build folder to the files field in package.json (#25828) commit af61d160a3803d20ab82a6352634a3a9a77c19ae Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Apr 14 10:31:34 2023 +0200 Docs: Clean up. (#25834) commit 7310a82d985247baf910c1bbf9075664f0883286 Author: Antoine BERNIER <antoine.bernier@gmail.com> Date: Fri Apr 14 10:24:25 2023 +0200 docs(bufferGeometry): adding indexed version code example (#25824) * docs(bufferGeometry): adding indexed version code example * updating doc + adding 2 live examples * Update BufferGeometry.html * removing browser examples * fixing sentences * Update BufferGeometry.html --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit e0a631f1a520a7569c49ff8cbf595b85d59e9e2f Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 13 19:06:35 2023 +0900 Examples: Improved webxr_xr_haptics. commit 724b00b858c6d7f107e92b696dad95963150fb2e Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 13 18:46:10 2023 +0900 Examples: Added floor clipping to webxr_xr_dragging. commit 2e61a8a3b325024764e89d352fdd9815330e59e0 Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 13 18:26:30 2023 +0900 Updated builds. commit ce2e193a9a029d9c8f5add1da3df9929206090ff Author: mrdoob <info@mrdoob.com> Date: Thu Apr 13 02:24:35 2023 -0700 WebGPU: Updated webgpu_loader_gltf to match webgl_loader_gltf (#25812) * WebGPU: Updated webgpu_loader_gltf to match webgl_loader_gltf. * render() after resize * WebGPUTextures: Upload texture in the same frame if possible and cleanup. (#25821) * WebGPUTextures: Upload texture in the same frame if possible and cleanup. * WebGPUTextures: cleanup --------- Co-authored-by: sunag <sunagbrasil@gmail.com> commit 1cb421f2eb29bf90dd5b98cd1e69d77a78fec48b Author: mrdoob <info@mrdoob.com> Date: Thu Apr 13 02:24:07 2023 -0700 WebXRManager: Added getEnvironmentBlendMode(). (#25825) * WebXRManager: Added getEnvironmentBlendMode(). * Clean up. commit 324904d17e5a5b0d5081ffb7cde028ef105c26fb Author: Barnabás Pőcze <65779826+pobrn@users.noreply.github.com> Date: Thu Apr 13 10:52:34 2023 +0200 PLYLoader: Ignore lines in the body (#25796) * PLYLoader: Ignore lines in the body Instead of assuming that each line describes one object, simply split the body at whitespaces and consume the resulting token stream with no regard to line boundaries. This is needed because, for example, some ply files exported by librealsense use multiple lines to describe a single object[0]. [0]: https://github.com/IntelRealSense/librealsense/blob/e9f05c55f88f6876633bd59fd1cb3848da64b699/include/librealsense2/hpp/rs_export.hpp#L240 Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> * Update PLYLoader.js --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit d7c481c5daeb842f5d81e4fe0340e550e5be83d4 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Thu Apr 13 10:17:31 2023 +0200 Examples: Remove redundant color space settings. (#25818) commit 87a453353de996b6d17d5b917cdeb8e0ee3bb3cf Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Thu Apr 13 13:46:39 2023 +0530 lint `docs\api\en\helpers` (#25817) commit b1fa158cd693bbea18da7b898fa82984f5e04eff Author: sunag <sunagbrasil@gmail.com> Date: Thu Apr 13 03:39:49 2023 -0300 WebGPURenderer: Shadows Node-Based (#25822) * PositionNode: Fix positionWorld and positionWorldDirection * NodeFrame: Added update from RENDER. * Added WebGPURenderTarget * Node: Added .updateBefore() * EquirectUVNode: Fix from new positionWorldDirection * NodeBuilder: Added .getRenderTarget() * WebGPUNodes: Fix cache and added updateBefore() * WebGPURenderObjects: Remove dummy cameras. * WebGPURenderStates: Replace WeakMap to WebGPUWeakMap * Added ShadowMap Node-Based * update examples * cleanup * Update examples/jsm/nodes/lighting/AnalyticLightNode.js Co-authored-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> * update title * renames updateMap -> frameMap, rendererMap -> renderMap --------- Co-authored-by: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> commit a899471b486961db2dec051dc66440d146415d42 Author: sunag <sunagbrasil@gmail.com> Date: Thu Apr 13 02:31:37 2023 -0300 WebGPUTextures: Upload texture in the same frame if possible and cleanup. (#25821) * WebGPUTextures: Upload texture in the same frame if possible and cleanup. * WebGPUTextures: cleanup commit b6503a4dc285879556d4e3ea360c93de33529c94 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 12 20:00:29 2023 +0200 Docs: Use color management in scene browsers. (#25816) commit 44c74a0228c55d71ed36d29ff6bcdb22e98372eb Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Wed Apr 12 22:43:50 2023 +0530 docs lint-3 (#25815) * lint `/extras/core/Curve.html` * lint `/extras/core/CurvePath.html` * lint `/extras/core/Interpolations.html` * lint `/extras/core/Path.html` * lint `docs/api/en/extras/core/Shape.html` * lint `docs/api/en/extras/core/ShapePath.html` * lint `docs/api/en/extras/curves/ArcCurve.html` * lint `docs/api/en/extras/curves/CatmullRomCurve3.html` * lint `docs/api/en/extras/curves/CubicBezierCurve.html` * lint `docs/api/en/extras/curves/CubicBezierCurve3.html` * lint `docs/api/en/extras/curves/EllipseCurve.html` * lint `docs/api/en/extras/curves/LineCurve.html` * lint `docs/api/en/extras/curves/LineCurve3.html` * lint `docs/api/en/extras/curves/QuadraticBezierCurve.html` * lint `docs/api/en/extras/curves/QuadraticBezierCurve3.html` * lint `docs/api/en/extras/curves/SplineCurve.html` * lint `docs/api/en/extras/DataUtils.html` * lint `docs/api/en/extras/Earcut.html` * lint `docs/api/en/extras/ImageUtils.html` * lint `docs/api/en/extras/PMREMGenerator.html` * lint `docs/api/en/extras/ShapeUtils.html` * lint `docs/api/en/geometries/BoxGeometry.html` * lint `docs/api/en/geometries/CapsuleGeometry.html` * lint `docs/api/en/geometries/CircleGeometry.html` * lint `docs/api/en/geometries/ConeGeometry.html` * lint `docs/api/en/geometries/CylinderGeometry.html` * lint `docs/api/en/geometries/DodecahedronGeometry.html` * lint `docs/api/en/geometries/EdgesGeometry.html` * lint `docs/api/en/geometries/ExtrudeGeometry.html` * lint `docs/api/en/geometries/IcosahedronGeometry.html` * lint `docs/api/en/geometries/LatheGeometry.html` * lint `docs/api/en/geometries/OctahedronGeometry.html` * lint `docs/api/en/geometries/PlaneGeometry.html` * lint `docs/api/en/geometries/PolyhedronGeometry.html` * lint `docs/api/en/geometries/RingGeometry.html` * lint `docs/api/en/geometries/ShapeGeometry.html` * lint `docs/api/en/geometries/SphereGeometry.html` * lint `docs/api/en/geometries/TetrahedronGeometry.html` * lint `docs/api/en/geometries/TorusGeometry.html` * link `docs/api/en/geometries/TorusKnotGeometry.html` * lint `docs/api/en/geometries/TubeGeometry.html` * lint `docs/api/en/geometries/WireframeGeometry.html` * Fied Tab space commit eecc9670ddb17f717d5c6ad2f92d0a857bfa13fe Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Wed Apr 12 19:41:36 2023 +0530 docs lint-2 (#25814) * lint `/extras/core/Curve.html` * lint `/extras/core/CurvePath.html` * lint `/extras/core/Interpolations.html` * lint `/extras/core/Path.html` * lint `docs/api/en/extras/core/Shape.html` * lint `docs/api/en/extras/core/ShapePath.html` * lint `docs/api/en/extras/curves/ArcCurve.html` * lint `docs/api/en/extras/curves/CatmullRomCurve3.html` * lint `docs/api/en/extras/curves/CubicBezierCurve.html` * lint `docs/api/en/extras/curves/CubicBezierCurve3.html` * lint `docs/api/en/extras/curves/EllipseCurve.html` * lint `docs/api/en/extras/curves/LineCurve.html` * lint `docs/api/en/extras/curves/LineCurve3.html` * lint `docs/api/en/extras/curves/QuadraticBezierCurve.html` * lint `docs/api/en/extras/curves/QuadraticBezierCurve3.html` * lint `docs/api/en/extras/curves/SplineCurve.html` * lint `docs/api/en/extras/DataUtils.html` * lint `docs/api/en/extras/Earcut.html` * lint `docs/api/en/extras/ImageUtils.html` * lint `docs/api/en/extras/PMREMGenerator.html` * lint `docs/api/en/extras/ShapeUtils.html` commit a15bce870e2181b1a3502e3680966b782fd14b4b Author: makc <makc.the.great@gmail.com> Date: Wed Apr 12 13:39:29 2023 +0200 bad import example in docs (#25813) * fix import statement in docs (en) * fix import statement in docs (zh) commit 39779300e9b450f6de2cba0f0d33269f29db694d Author: Mr.doob <info@mrdoob.com> Date: Wed Apr 12 18:04:00 2023 +0900 WebXR: Improved dragging, paint and sculpt examples. commit 50993b246434a8beb637e6b0b212bb5b624ffa98 Author: Mr.doob <info@mrdoob.com> Date: Wed Apr 12 18:01:37 2023 +0900 WebXR: Clean up. commit 443cb7dfde1e411ab659c288acbb9ab2ba6444c1 Author: Mr.doob <info@mrdoob.com> Date: Wed Apr 12 18:00:38 2023 +0900 WebXR: Renamed and improved haptics example. commit fa0cafc4f692dbca78c291a39c3d298224c0532a Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Wed Apr 12 14:18:01 2023 +0530 docs lint-1 (#25808) * docs lint * Lint * lint `AnimationClip.html` * lint `AnimationMixer.html` * lint `AnimationObjectGroup.html` * lint `AnimationUtils.html` * lint `KeyFrameTrack.html` * lint `propertyBinding.html` * lint `PropertyMixer.html` * lint `/audio/Audio.html` * lint `/audio/AudioAnalyser.html` * lint `/audio/AudioContext.html` * lint `/audio/AudioListener.html` * lint `/audio/PositionalListener.html` * lint `/cameras/ArrayCamera.html` * lint `/cameras/Camera.html` * lint `/cameras/CubeCamera.html` * lint `/camera/OrthographicCamera.html` * lint `/camera/PerspectiveCamera.html` * lint `/camera/StereoCamera.html` * lint `/constants/BufferAttributeUsage.html` * lint `/constants/Core.html` * lint `/constants/CustomBlendingEquations.html` * lint `/constants/Materials.html` * lint '/constants/Renderer.html` * lint `/constants/Textures.html` * lint `core/bufferAttributeTypes/BufferAttributeTypes.html` * lint `core/BufferAttribute.html` * lint `/core/BufferGeometry.html` * lint `core/Clock.html` * lint `core/EventDispatcher.html` * lint `core/GLBufferAttribute.html` * lint `core/InstancedBufferAttribute.html` * lint `core/InstancedBufferGeometry.html` * lint `core/InstancedInterleavedBuffer.html` * lint `core/InterleavedBuffer.html` * lint `core/InterleavedBufferAttribute.html` * lint `/core/Layers.html` * lint `/core/Object3D.html` * lint `/core/Raycaster.html` * lint `/core/Uniform.html` commit e583934273f06db91ce4a71e21ef6592d6db6718 Author: Matt Rossman <22670878+mattrossman@users.noreply.github.com> Date: Wed Apr 12 04:40:04 2023 -0400 Target bone objects directly in BVHLoader keyframe tracks (#25811) * Target bone objects directly in BVHLoader tracks * Remove dummy SkinnedMesh from example commit 17cde661d11a76d663c92d5489fd1b83df36ae35 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 11 11:28:14 2023 +0200 Tests: Update constants unit test. (#25810) commit 8d0adb60ce6579e1ee6b785939d4d963d3899ffc Author: Mr.doob <info@mrdoob.com> Date: Tue Apr 11 17:43:03 2023 +0900 Updated builds. commit de2fbc63ff64077b3b33a44435c886b10f90aa3f Author: mrdoob <info@mrdoob.com> Date: Tue Apr 11 01:31:43 2023 -0700 WebXR: Added XRButton (#25781) * Added XRButton.js * Examples: Updated relevant examples using XRButton. * WebXRManager: Added setSessionMode(). * WebGLRenderer: Force clear when sessionMode is 'immersive-ar'. * Clean up. * WebXRManager: Force alpha: true in layerInit. * WebGLRenderer: Set state.buffers.color before calling clear() for 'immersive-ar'. * Fix typo * WebGLBackground: Handle WebXR sessions environmentBlendMode. * WebXRManager: Removed setSessionMode(). * XRButton: Revert extra removal. commit a5aa3b75bce085110e2ff928c2c9accbbe0e3d26 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 17:46:38 2023 +0200 Revert "SkeletonUtils: Fix retargetClip() final keyframe (#25589)" (#25809) This reverts commit 40a903bbd7bd75dde47c05332ea3305b8e798f1c. commit 9b542faeb2fc628815083a6b342c4b5e544227ee Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Apr 10 15:31:01 2023 +0200 Update peter-evans/create-or-update-comment action to v3 (#25798) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 0e28761311946bd872a4ddabeac8459aa7e47ffd Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 15:29:19 2023 +0200 Update BufferGeometry.html commit 12e6b0b455c3ec0ecb1c4c049e5392827aab8c82 Author: mrdoob <info@mrdoob.com> Date: Mon Apr 10 19:01:32 2023 +0900 Update How-to-update-things.html commit a00d44b9d921b0e061c4233a3d4dd699a4e6ce06 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 11:55:55 2023 +0200 Docs: Remove `Testing with npm` guide. (#25807) commit 1246e3ba041ca86f17f027c31fc7c5a1215e60c1 Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Mon Apr 10 14:37:41 2023 +0530 changes in HTML (#25799) commit 52d0b6d6a9901f98fa21e7a91e357cba14201647 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 10:57:34 2023 +0200 WebGLRenderTarget: Honor scissor properties in `copy()`. (#25805) commit be253bfbf7891f03be463671482af2dd7b1ba506 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 10:46:52 2023 +0200 Docs: Improve live example in `Creating a scene` guide. (#25806) commit 27de13eb1c890baa8b58643a3341be56848fc058 Author: Kirill Osipov <querielo@protonmail.com> Date: Mon Apr 10 12:38:38 2023 +0400 [WebGLMultipleRenderTargets.prototype.copy] Fix misprint: copy viewport/scissor from source (#25803) commit b844ad9c79b070ca13c08279c6a809bfb0483677 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 10 10:29:57 2023 +0200 Docs: Improve `Updating resources` guide. (#25804) commit 80174b5ab78007d19d87f0ee9e77f18c7b8ab542 Author: Takahiro <hogehoge@gachapin.jp> Date: Sun Apr 9 20:12:23 2023 -0700 WebGPURenderer: Set label to GPUShaderModules (#25801) commit 5eff1eed160e47e720f5550539e34bd97929bbd3 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Apr 9 20:57:28 2023 +0000 Update devDependencies (non-major) (#25797) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit ea8435a22103bcb599387b246ed034145479c12c Author: vinay <94120295+vinaykulk621@users.noreply.github.com> Date: Sun Apr 9 21:23:50 2023 +0530 unwanted <h3> (#25795) commit cef5a1384366c7a0215fd10fb34b536e84836dda Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Sun Apr 9 17:47:52 2023 +0800 Update WebXRManager.html (#25794) Update the Chinese translation of WebXRManager's documentation. commit f342395bfb0bde40ad4c56252f1d5e2de0b8a0b8 Author: Luis Fonsi VEVO <fonsi@brownbricks.com> Date: Sat Apr 8 00:52:52 2023 -0600 AudioLoader: Trigger the error callback when decodeAudioData fails (#25784) * AudioLoader: Trigger the error callback when decodeAudioData fails Currently, if the call to `context.decodeAudioData` fails for whatever reason, `AudioLoader.load` (and `loadAsync` by extension) will hang forever because there is no error handling for it. This PR adds the extra error handling for that scenario. * fix lint errors commit 988d96e72700471ee9cffc1e9f926126cac7e508 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Sat Apr 8 08:48:07 2023 +0200 SkinnedMesh: Use correct bounding volume for raycasting. (#25791) commit 5ce153ae1833f50736f62485933f1ce44fd1ad61 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Apr 7 16:59:01 2023 +0200 Editor: Honor latest color management changes. (#25793) commit 43d003c2903251257f13604b47f9d151ed4fd416 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Apr 7 16:51:50 2023 +0200 Docs: Honor latest color management changes. (#25792) commit f111638588abc9e3b11f9714a7c766b0d2aa853a Author: Mugen87 <michael.herzog@human-interactive.org> Date: Fri Apr 7 14:00:37 2023 +0200 Updated builds. commit 13397a82cf46c8b04ed2df33e8c18b91ce317a70 Author: Don McCurdy <dm@donmccurdy.com> Date: Fri Apr 7 07:59:35 2023 -0400 WebGLRenderer: Default output to sRGB (#25783) * WebGLRenderer: Default output to sRGB * Examples: Update all for sRGB default renderer output. * Revert changes in examples/webgl_points_sprites.html * Clean up * Revert changes to webgl_points_sprites screenshot. --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 435bcc638647d495f0b60c6a5a2b6490af3f86ff Author: Takahiro <hogehoge@gachapin.jp> Date: Fri Apr 7 02:12:33 2023 -0700 WebGPURenderer: Set label to WebGPU textures (#25785) commit 64107ecab57f804fa72b2a3df281b09d084045c5 Author: mrdoob <info@mrdoob.com> Date: Fri Apr 7 01:53:04 2023 -0700 Rollup: Removed glconstants() optimization (#25780) * Rollup: Test build sizes without glconstants() * Update constants.js * Tests/Build: More glconstants() removal. * no message commit db4d0899d2f2e5eb38fb9408f82e110de09b6ee3 Author: Mr.doob <info@mrdoob.com> Date: Fri Apr 7 17:07:15 2023 +0900 WebGPU: Improved message. commit a18c25714bdb3798617de66ff937cb65a521e099 Author: sunag <sunagbrasil@gmail.com> Date: Fri Apr 7 04:56:47 2023 -0300 WebGPURenderer: DepthTexture (#25766) * FogNode: Update from construct API. * webgpu_rtt: update example API * WebGPURenderer: New Cache System * WebGPURenderer: Update cacheKey after needsUpdate. * final revision (1) * RenderObject pipeline based ( 1/2 ) * RenderObject pipeline based ( 2/2 ) * cleanup * fix possible overrideMaterial material with .wireframe and cleanup * Revert "fix possible overrideMaterial material with .wireframe and cleanup" This reverts commit 7dcd85e8a84eaf4c90ec7b7a9b3827c359addb1f. * Revert "Revert "fix possible overrideMaterial material with .wireframe and cleanup"" This reverts commit 5370b40c1dddd384cdd9df49a4d1aec60a318336. * preserve nodes if pipeline is removed * WebGPURenderObjects: Move get*Node() to WebGPUNodes. * WebGPURenderer: DepthTexture * revision * revision * Move getCubeTexture() to getTexture() commit 58ed2c5c73474e171d974c7256361f3f58d0512c Author: Levi Pesin <35454228+LeviPesin@users.noreply.github.com> Date: Fri Apr 7 05:21:30 2023 +1000 WebGPUNodeBuilder: Clean up (#25768) * WebGPUNodeBuilder.getUniforms(): Clean up * More clean up commit 124e7cc8d9a0a73e07b536d18e6779d702a6bf29 Author: Mr.doob <info@mrdoob.com> Date: Thu Apr 6 19:29:43 2023 +0900 WebGPU: Removed enable-unsafe-webgpu from error message. commit 805f1865a7d3a51086c3e5f1037680e6e8bae1cf Author: Mugen87 <michael.herzog@human-interactive.org> Date: Thu Apr 6 10:27:55 2023 +0200 Updated builds. commit 88c95377c113004342dc8e4060c741c7176a4911 Author: Don McCurdy <dm@donmccurdy.com> Date: Thu Apr 6 04:25:30 2023 -0400 Texture+WebGLRenderTarget: Replace .encoding with .colorSpace (#25771) * Texture+WebGLRenderTarget: Replace .encoding with .colorSpace * Fix typo * Update WebGLCubeRenderTarget.js * WebGLRenderer: Update remaining use of .encoding * Examples: Update examples, replace .encoding → .colorSpace --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 185df04a990065f9f8cbb2d717629f3996df95be Author: sunag <sunagbrasil@gmail.com> Date: Thu Apr 6 03:37:04 2023 -0300 ShaderChunk: Cleanup transmission_pars_fragment. (#25776) commit a843c675fe2ed80d0adab7a4ec9b4d1fd452cbdc Author: Adam Beili <54665621+Beilinson@users.noreply.github.com> Date: Thu Apr 6 07:19:12 2023 +0200 Added three.module.min.js to "files" (#25778) commit a6e8f6d21371138fe170362cd5fabcff7f41b579 Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Thu Apr 6 01:59:58 2023 +0800 Update UniformsUtils.html (#25777) Improve the translation of the Chinese documentation of UniformsUtils commit 1acc326f602776a0a5ca8cc0bb91b3f45db168df Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Wed Apr 5 21:57:41 2023 +0800 Update WebGLMultipleRenderTargets.html (#25775) Update Chinese translation of WebGLMultipleRenderTargets commit e43959d88a5df6983ca4b95196606a2ac9df5f81 Author: Takahiro <hogehoge@gachapin.jp> Date: Tue Apr 4 23:17:44 2023 -0700 WebGPURenderer: Set labels of some WebGPU objects (#25773) This commit sets labels of some WebGPU objects for helping debug. commit 018f9a27df2310ca3962ee6c2c6d4897fd9c7708 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Apr 5 00:37:07 2023 +0200 SkeletonUtils: Simplify module. (#25769) * SkeletonUtils: Simplify module. * SkeletonUtils: More clean up. commit e7d1573389122e67f8056c9c4ae5f8574fd4c310 Author: LinkunGao <80797317+LinkunGao@users.noreply.github.com> Date: Wed Apr 5 01:58:23 2023 +1200 NRRDLoader: Fix spacing issue when loading 16 bit images. (#25767) * fixed the nrrd images' spacing issue on loading 16 bits images * undo the ijk_to_transition matrix4 changes, continue use set(row-major order) * Update NRRDLoader.js * Update Volume.js * using array instead of vector3 when creating RASDimensions --------- Co-authored-by: skycoco <skycoco1994@gmail.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 9f8bb69d3b1d2e7ee56d7706859e09ae79ea1a18 Author: Mugen87 <michael.herzog@human-interactive.org> Date: Tue Apr 4 10:20:28 2023 +0200 Updated builds. commit 88ade6a7726399f363b64117ec143eb4a4756cb0 Author: Don McCurdy <dm@donmccurdy.com> Date: Tue Apr 4 04:17:12 2023 -0400 WebGLRenderer: Rename .outputEncoding → .outputColorSpace (#25756) * WebGLRenderer: Replace .outputEncoding with .outputColorSpace, default to sRGB. * Examples: Update for .outputColorSpace * Examples: Convert more complex cases * Clean up * Revert change to defaults --------- Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 8cc9f32a96e932ccba41f82cd2b7c62d047be39f Author: sunag <sunagbrasil@gmail.com> Date: Tue Apr 4 05:03:53 2023 -0300 WebGPURenderer: New Cache System (#25750) * FogNode: Update from construct API. * webgpu_rtt: update example API * WebGPURenderer: New Cache System * WebGPURenderer: Update cacheKey after needsUpdate. * final revision (1) * RenderObject pipeline based ( 1/2 ) * RenderObject pipeline based ( 2/2 ) * cleanup * fix possible overrideMaterial material with .wireframe and cleanup * Revert "fix possible overrideMaterial material with .wireframe and cleanup" This reverts commit 7dcd85e8a84eaf4c90ec7b7a9b3827c359addb1f. * Revert "Revert "fix possible overrideMaterial material with .wireframe and cleanup"" This reverts commit 5370b40c1dddd384cdd9df49a4d1aec60a318336. * preserve nodes if pipeline is removed * WebGPURenderObjects: Move get*Node() to WebGPUNodes. commit 6622dbf73bfe6321745611e237291b349e90c455 Author: hybridherbst <felix.herbst@gmail.com> Date: Tue Apr 4 09:59:27 2023 +0200 cleanup lint-addons and lint-examples (#25739) commit ef05216d8058ab133204f91e5365cebe223685d2 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Apr 4 09:58:39 2023 +0200 Examples: Refactor BVH demo. (#25763) * Examples: Refactor BVH demo. * Update E2E screenshot. commit ab417fd30aa5986aa75d95ca0057673a89cf40b1 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 3 13:44:30 2023 +0200 Docs: Keep translated pages in sync. (#25762) commit fb352e6a489cbabbfbb5ac36936e1752791fe7d7 Author: Adam N <18304870+0xAxiome@users.noreply.github.com> Date: Mon Apr 3 13:30:14 2023 +0200 Fix the import in the WebGL compatibility documentation (#25761) fix #25760 commit 1848f74f3fe15b3f9a459afeff5afd11c3e6bc11 Author: 林炳权 <695601626@qq.com> Date: Mon Apr 3 18:03:08 2023 +0800 Updated package.json deps and version. (#25757) * Updated package.json deps * Updated version with `0.152.0` commit 47118f1316c10e90238930918aa103c9440a7ada Author: Renaud Rohlinger <renaud.rohlinger@gmail.com> Date: Mon Apr 3 19:00:45 2023 +0900 fix bindTexture does not have fallback for 2darray and 3d textures (#25758) commit feb76e6c3289137fed82a0174049783f47e30514 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Mon Apr 3 10:27:39 2023 +0200 Update constants.js commit 9da78bb26fb32d405c1f0d658562c6845eee97e0 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Apr 3 10:58:48 2023 +0900 Update devDependencies (non-major) (#25754) * Update devDependencies (non-major) * Update puppeteer.js https://github.com/mrdoob/three.js/pull/25715#issuecomment-1486653879 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 62346085edb673adcbed8b26279153753dfee01d Author: Don McCurdy <dm@donmccurdy.com> Date: Sun Apr 2 21:56:59 2023 -0400 Remove inline sRGB decode of video textures (#25752) * WebGLRenderer: Use texStorage2D and hardware sRGB decoding for video textures * Revert useTexStorage change. * Clean up commit 40ae0b782812dfbc669822cbd6b2e1764dca4cd1 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Apr 3 10:50:29 2023 +0900 Update dependency concurrently to v8 (#25755) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit b43490260cdf71c71dc5fdec4114e3643c6c5e98 Author: Tim Gates <tim.gates@iress.com> Date: Mon Apr 3 11:49:25 2023 +1000 docs: Fix a few typos (#25753) There are small typos in: - examples/jsm/loaders/ColladaLoader.js - examples/jsm/loaders/SVGLoader.js Fixes: - Should read `width` rather than `witdh`. - Should read `process` rather than `procces`. Signed-off-by: Tim Gates <tim.gates@iress.com> commit 8400dc53eff51b434ae965edefa387e7695f9e42 Author: Don McCurdy <dm@donmccurdy.com> Date: Fri Mar 31 15:33:20 2023 -0400 Documentation: Improve signature of Triangle.getInterpolation. (#25749) commit a55464eacb39e9a781a91d7848eb7401621d1045 Author: sunag <sunagbrasil@gmail.com> Date: Fri Mar 31 13:57:55 2023 -0300 Flow.js: Remove unnecessary constructor arguments. (#25747) commit 1ef7fec11bb4d4b2dfb5fd97b03c826f3adc1553 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Mar 31 17:02:29 2023 +0200 Revert "Use a custom loader to load textures in FBXLoader (#25730)" (#25746) This reverts commit f327b7a0f7aefafe23068b3987d3787dff7248d9. commit 6c0a44af8b6b6a866863b9a3e7a618590cea1fb5 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Mar 31 16:33:30 2023 +0200 Docs: Improve WebGLRenderer page. (#25745) commit 4e361e96bc8a1513febb349dde9f1f3be7bf5ec0 Author: Mr.doob <info@mrdoob.com> Date: Fri Mar 31 12:53:08 2023 +0900 r151 (bis) (bis) commit d57885abbf64e02a29dbe820998d9bcce6e7edd2 Author: Mr.doob <info@mrdoob.com> Date: Fri Mar 31 09:16:23 2023 +0900 Revert "Core: Use `structuredClone()` when available. (#25535)" This reverts commit cfe9eaf39440c7b5289b9b4d81bdb03e94065f3c. commit ecf5934c8a0eb4b286f61541c0a8008500ab12de Author: Mr.doob <info@mrdoob.com> Date: Fri Mar 31 08:46:51 2023 +0900 r151 (bis) commit c0cba0ddca7be75b8e2876d5c5f6169c80cb7dc8 Author: mrdoob <info@mrdoob.com> Date: Thu Mar 30 16:44:44 2023 -0700 WebGLProgram: Do not define USE_UV. (#25740) commit d440449f6a0104e4095a6fee0b1a1e64df3f926a Author: Mr.doob <info@mrdoob.com> Date: Thu Mar 30 20:44:17 2023 +0900 r151 commit cbbb778c3a70867e3e52b01532b456af476aab64 Author: Mr.doob <info@mrdoob.com> Date: Thu Mar 30 17:22:26 2023 +0900 Updated builds. commit d99c79635f4f62e2c96ead3250e8dc15ee77eba0 Author: antpb <itartist.pdf@gmail.com> Date: Thu Mar 30 03:19:17 2023 -0500 Improve WebGL 2 detection in iframes (#25733) * adjusts to directly check the gl.constructor.name instead of instanceof * spacing commit c571a5a390accc25b281f0b9a739c63a050a7683 Author: Mr.doob <info@mrdoob.com> Date: Thu Mar 30 17:05:03 2023 +0900 Updated builds. commit 5c5a5c74c6611d3f14dd3e58c5139afd3e4ea182 Author: mrdoob <info@mrdoob.com> Date: Thu Mar 30 01:01:57 2023 -0700 WebGLRenderer: Add support for multiple uv sets and transforms. (#25721) * WebGLRenderer: Refactor uv shaderchunks. * GLTFLoader: Removed uv2 workaround. * MeshGouraudMaterial: Clean up. * Texture: Renamed uvChannel to uvSet. * ShaderChunks: Refactored back vUv code. * WebGLProgram: Removed uvsVertexOnly flag. * WebGLRenderer: Added uvSet support for map and emmisiveMap. * WebGLRenderer: Added uvSet support for lightMap and aoMap. * Texture: Added uvSet to copy() and toJSON(). * ObjectLoader: Parse Texture uvSet. * Examples: Fixed webgl_materials_lightmap. * Examples: Updated webgl_lines_dashed screenshot... * WebGLRenderer: Added support for multiple transforms. * UniformLib: Restored uvTransform. * WebGLRenderer: Fixed Sprites uniforms. * WebGLRenderer: Added lightMap transform code. * Examples: Updated webgl_loader_gltf_sheen screenshot. * WebGLMaterials: Added refreshTransformUniform function. * WebGLProgram: Clean up. * OCD clean up. * WebGLMaterials: Clean up. * WebGLPrograms: Clean up. * Clean up. * WebGLMaterials: Clean up. * ShaderLib: Clean up. * WebGLRenderer: Added clearcoat transforms code. * Revert "Examples: Updated webgl_lines_dashed screenshot..." This reverts commit df778f1b24d70e091674c793fd9ddb166767fd91. * WebGLRenderer: Added bumpMap transforms code. * More OCD clean up. * Clean up. * WebGLRenderer: Added alphaMap transform code. * Examples: Fixed webgl_materials_physical_clearcoat transform. * Examples: Fixed webgl_lines_dashed example. * ShaderChunk: Rename uvs_* to uv_* back. * Manual: Replaced vUv2 references. * Examples: Updated ProgressiveLightMap code. * ShaderChunk: Removed vUv2. * WebGLRenderer: Fixed normalMap and clearcoarNormalMap transforms. * Examples: Updated webgl_nodes_loader_gltf_sheen screenshot. * WebGLRenderer: Added displacementMap transform code. * WebGLProgram: Clean up. * WebGLProgram/s: Yet more clean up. * WebGLProgram/s and ShaderChunk: More clean up. * WebGLProgram/s: More clean up. * WebGLProgram: Check that there's a UV2 before trying to use it. * WebGLPrograms: More clean up. * WebGLProgram: Fixed normalmap crash. * WebGLProgram/s: More clean up. * WebGLPrograms: Clean up. * WebGLProgram: Fixed depthPacking check. * WebGLRenderer: Added specular*Map transform code. * WebGLPrograms: Clean up. * WebGLPrograms: Clean up. * WebGLProgram: Added specular*Map to cache key. * WebGLRenderer: Added sheen*Map transform code. * WebGLRenderer: Added iridescence*Map transforms code. * WebGLRenderer: Added transmissionMap and thicknessMap transform code. * WebGLMaterials: Use mapTransform in refreshUniformsLine. * ShaderChunks: Removed vUv and uvTransform. * Examples: Updated advanced examples with USE_MAP and MAP_UV. * WebGLProgram/s: Clean up. * Docs: Added placeholder. * GLTFLoader: Clone texture before modifying .uvSet * Revert "ShaderChunks: Removed vUv and uvTransform." This reverts commit 7e278a8ae01bbaf2f911ca250220336a988dc311. * Revert "Examples: Updated advanced examples with USE_MAP and MAP_UV." This reverts commit f9b8c7921f4cb152719692ab34df452a0646576c. * Examples: Fixed PackedPhongMaterial. * ShaderChunks: Leaving vUv for backwards compatibility. * Texture: Renamed uvSet to channel. * UniformsLib: Clean up. * Docs: Updated offset and repeat details. * Docs: Removed uv transforms call out from GLTFLoader. * Docs: Added basic `channel` description. --------- Co-authored-by: Don McCurdy <dm@donmccurdy.com> commit f327b7a0f7aefafe23068b3987d3787dff7248d9 Author: soma <soma-arc@users.noreply.github.com> Date: Thu Mar 30 16:55:30 2023 +0900 Use a custom loader to load textures in FBXLoader (#25730) commit 3038140a1355910b83c4db806c11dc648725ad95 Author: sunag <sunagbrasil@gmail.com> Date: Wed Mar 29 17:35:29 2023 -0300 Playground: Fix examples (#25732) * NodeEditorLib: Fix nodeClass prototype. * Playground: Fix examples invert() -> oneMinus() commit 5d3ed2296b8e4eff63f17153bd939fc99d7dfcd3 Author: sunag <sunagbrasil@gmail.com> Date: Wed Mar 29 08:03:54 2023 -0300 TSL: Convert common math objects to nodes if used in parameters. (#25728) commit 03e4e0555712c2dcca43acc01b2d6674fd15ffa8 Author: sunag <sunagbrasil@gmail.com> Date: Wed Mar 29 01:03:18 2023 -0300 NodeEditor: New Version (Rev. 3) (#25692) * update flow.js rev. 3 * Pass: Added .isPass property. * NodeEditor: Rev. 3 (WIP) * fix example custom node "Replace Material by Name" * fix disconnect resize icon size * cleanup * fix gtf loader example * NodeMaterial: Fix backward compatibility of scene.environment. * MeshStandardNodeMaterial: Fix specular color node. * NodeEditor: Move playground to root and revisions. * Package: Added lint-playground * cleanup from lint * update lib * RangeNode: Node-Based parameters. * TSL: Added split( node, channels ) as alternative. * cleanup * Revision and more two examples * TextureEditor: Fix const. * Example particle: Fix rotate. * Example car: update car color * cleanup * NodeEditorLib: getNodeList() -> prevent multiple fetch. * NodeEditor: Fix linux case-sensitive getting example. * Added fresnel example * Rename invert -> oneMinus commit 25ef6adba4c757704b910d2deb742634a7c58ef7 Author: sunag <sunagbrasil@gmail.com> Date: Tue Mar 28 18:42:48 2023 -0300 Nodes: Rename invert() -> oneMinus() (#25725) commit f2a90fdc37aa1acf37c1063b6ccbe052a7e4fee1 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Tue Mar 28 20:08:35 2023 +0200 Update devDependencies (non-major) (#25715) * Update devDependencies (non-major) * Update puppeteer.js https://github.com/mrdoob/three.js/pull/25715#issuecomment-1486653879 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 8b1973fe3b2836077b236f5f233a0e251bbdbba8 Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Wed Mar 29 01:01:23 2023 +0800 Update SphericalHarmonics3.html (#25726) Translate the Spherical Harmonics 3 Chinese document correctly commit 2fd6f8c56b2159bfc1fde93d7cb7b24e884e6634 Author: mrdoob <info@mrdoob.com> Date: Tue Mar 28 03:59:58 2023 -0700 WebGLPrograms; sheen and transmission checks clean up. (#25723) commit bee8eaf1b079514601ddbec30ce928016e3fe815 Author: hybridherbst <felix.herbst@gmail.com> Date: Tue Mar 28 10:54:40 2023 +0200 fix: prevent exception when loading glTF files that use KHR_animation_pointer extension (#24770) fix: don't return, instead just skip the animations that aren't supported remove warning when node is undefined, just continue commit 2745552562cb9d99d04c619de56820f571020eac Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Tue Mar 28 02:58:02 2023 +0200 LineBasicMaterial: Add support for `map`. (#25717) commit c88db121219af67b44afdc97ede7526878eeb7fb Author: Mr.doob <info@mrdoob.com> Date: Tue Mar 28 09:27:29 2023 +0900 Updated builds. commit f2763b2a5d1ac003aa9eee46edf4d0b09e20c618 Author: WestLangley <WestLangley@users.noreply.github.com> Date: Mon Mar 27 20:05:32 2023 -0400 ShaderMaterial: Disable two-pass rendering by default (#25720) * Disable two-pass rendering * Update screenshot * Update screenshot commit 9423a438e9bd132ce2e49ccd6688d73a4e572c53 Author: sunag <sunagbrasil@gmail.com> Date: Mon Mar 27 17:51:42 2023 -0300 WebGPURenderer: Added VideoTexture support (#25530) * WebGPURenderer: Added VideoTexture support * Examples: Added webgpu_materials_video * Test if WebGPU is available * cleanup * Node: Fix update .getUpdateType() * Fix updates * WebGPUBindings: Fix resource. * WebGPUNodeBuilder: Improve error message. commit 6feb9e836ebfb206d61c940463f9a00ed9291bdc Author: Marco Fugaro <marco.fugaro@gmail.com> Date: Mon Mar 27 15:46:54 2023 +0200 Remove unnecessary three.min.cjs build (#25719) commit 930b18397a2a564757c27b16ab58b19f0cb3a17c Author: Robert Huitl <git@huitl.de> Date: Mon Mar 27 09:50:53 2023 +0200 WebXRManager: Correctly update the user camera when it has a parent with a non-identity transform. (#25231) Further, calculate the inverse projection matrix and the field of view. commit 014decf9efba0ad134664352831139ba5d820a30 Author: Mr.doob <info@mrdoob.com> Date: Mon Mar 27 16:23:55 2023 +0900 Updated builds. commit c601b4e3c2019013d0f7ef09834ab9c06456ec3d Author: Adam Beili <54665621+Beilinson@users.noreply.github.com> Date: Mon Mar 27 09:21:57 2023 +0200 added minified versions of .module and .cjs, reduced build size by 50% (#25714) commit 67feb9bcf40996accf4c1766e61f1c26be985870 Author: DavidDufour <dadufour@uwaterloo.ca> Date: Mon Mar 27 03:08:36 2023 -0400 Remove duplicate line. (#25716) commit 8988a1c5a31456bc516f6f77296eeb90295d97e2 Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Sun Mar 26 01:00:36 2023 +0800 Update PMREMGenerator.html (#25713) Improve the Chinese translation of PMREMGenerator commit 5a06391f3d1007bb1871eea027cca77e7f0e6812 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Sat Mar 25 13:17:45 2023 +0100 Examples: Clean up AVIF demo. (#25712) * Examples: Clean up AVIF demo. * Examples: Update screenshot. * Examples: More clean up. commit c8549a524bde688e8a55b32faa0a69b3308c4034 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Fri Mar 24 17:43:54 2023 +0100 PointsMaterial: Add support uv attribute. (#25707) commit c0b03d674b82fb27ad163070c84816f58df77f8e Author: Mr.doob <info@mrdoob.com> Date: Fri Mar 24 14:56:57 2023 +0900 Updated builds. commit 75cfd1c169ffcb893c6d0eb1c2b36d76afa6915b Author: WestLangley <WestLangley@users.noreply.github.com> Date: Thu Mar 23 23:11:42 2023 -0400 Clean up (#25711) commit 8ad86047a2f55f13ef45ca4a3d3ad047d61cc326 Author: WestLangley <WestLangley@users.noreply.github.com> Date: Thu Mar 23 23:07:16 2023 -0400 ColorManagement: Clean up (#25709) * Clean up * Clean up * Clean up commit a8638ec20c703cc77105c3a033d39c92e95f037d Author: Mugen87 <michael.herzog@human-interactive.org> Date: Thu Mar 23 17:33:10 2023 +0100 Updated builds. commit 5f34f3c26122a0bc57f3f09b4707802716f5ef01 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Thu Mar 23 17:23:37 2023 +0100 Examples: Update model in glTF AVIF demo. (#25708) * Examples: Update model in glTF AVIF demo. * Examples: Update screenshot. commit 08727dd9e942da5d6fcd6be560735fd478fe43c9 Author: Emmett Lalish <elalish@google.com> Date: Thu Mar 23 01:32:03 2023 -0700 Refactor PBR shaders (#25693) * pull in shader refactor from anisotropy branch * removed vestiges of anisotropy * vTBN -> tbn * fixed flat shading * Space -> Frame * revert so doubleside does not affect flat shaded commit f4eac4a481ee5e653e0fcc585894cd2436655412 Author: 幽离 <90978564+newstart0514@users.noreply.github.com> Date: Thu Mar 23 16:28:22 2023 +0800 Updated Chinese translation of GLBufferAttribute (#25706) Updated Chinese translation of GLBufferAttribute,In the original version, the Chinese document for GLBufferAttribute was hardly translated into Chinese, and this modification has translated the page commit 728bfed8712f4c7277f68d527f91a18f51732d50 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Mar 22 09:50:36 2023 +0100 Editor: Fix broken material tab when `Texture.image` is null. (#25703) commit 2ca66f1fd94ad21cba6381ff47bbbe9564337a3a Author: Mugen87 <michael.herzog@human-interactive.org> Date: Wed Mar 22 09:39:04 2023 +0100 Updated builds. commit 3c4b97f57ddae9e6ec7b27a8402037b7a24442b9 Author: Michael Herzog <michael.herzog@human-interactive.org> Date: Wed Mar 22 09:33:31 2023 +0100 MeshDistanceMaterial: Remove light related properties. (#25695) commit 946f27f70a9a05be1bedd54b58a81adaceb04b10 Author: sunag <sunagbrasil@gmail.com> Date: Tue Mar 21 22:28:01 2023 -0300 MeshStandardNodeMaterial: Fix specular color node. (#25700) commit 464e9adc17de52d8b65449350cc02560625498b0 Author: sunag <sunagbrasil@gmail.com> Date: Tue Mar 21 17:36:46 2023 -0300 NodeMaterial: Fix backward compatibility of scene.environment. (#25698) commit f83bc569da527d2821a428ffaead8b29b5f847a5 Author: 智伤帝 <40897360+FXTD-ODYSSEY@users.noreply.github.com> Date: Mon Mar 20 17:58:25 2023 +0800 FBXLoader: Fix DeformPercent regex. (#25689) * fix: re match DeformPercent * Update FBXLoader.js --------- Co-authored-by: timmyliang <weitian.liang@mihoyo.com> Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org> commit 911afb27969c653a8c0800c8ec460111830e01c7 Author: sunag <sunagbrasil@gmail.com> Date: Mon Mar 20 02:20:42 2023 -0300 TSL: ScriptableNode (#25685) * CodeNode: Added language and serialize. * TSL: Renamed inversesqrt -> inverseSqrt, faceforward -> faceForward, * TSL: Added saturate * TSL: Different params order if method chaining is used. * Nodes: Change mix order and added FogNode.mixAssign() * Node: Ignore private properties on serialization. * Nodes: Added string, arrayBuffer * Node: Added .getSerializeChildren() * Added ScriptableNode * Added scriptable example and serialization test. * update style * cleanup * cleanup * Code Based Node moved to /code/ * ScriptableNode: Fix async refresh, added .setLocal(), .getLocal() * added async scriptable and serialization test * optional output * added output example * ScriptableNode: Move editor property to function call if needed. * ScriptableValueNode: Added support to more CPU nodes. * ShaderNode: Reduces the use of unnecessary conversions. * webgpu_materials: Added CPU parameter as node. * ScriptableNo…
Related issue: #25788 #25938
Description
Before this PR we had this setup:
This PR renames the attributes to match GLTF ids and
material.channel
:uv0uv