Skip to content
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

Draft merge latest three.js #15

Draft
wants to merge 4,546 commits into
base: dev
Choose a base branch
from
Draft

Draft merge latest three.js #15

wants to merge 4,546 commits into from

Conversation

VsevolodX
Copy link
Member

Related issue: #XXXX

Description

A clear and concise description of what the problem was and how this pull request solves it.

This contribution is funded by Example

Mugen87 and others added 30 commits October 29, 2024 09:59
* NodeMaterial: Add support for `alphaHash`.

* Clean up.

* E2E: Update exception list.

* Examples: Clean up.

* NodeMaterial: Fix alpha hash check.
…ng usage (#29729)

* support for post-rendering use

* cleanup

* Update Textures.js

* improve rectangle parameter values and types

* cleanup
* TSL: Add function for computing BPCEMs.

* E2E: Add example to exception list.

* added on resize

---------
Remove outdated link.
* WebGPURenderer: Handle Device Lost Event

* small typo

* feedbacks

* fix

* not need to bind
Update revision.
…29769)

* Add mipmap copy support

* unbind buffers

* working function implementation

* Support signature deprecation

* update docs

* Infer the mipmap sizes of the src texture

* Update WebGLRenderer.js

Update deprecation comment.

---------

Co-authored-by: Michael Herzog <[email protected]>
* Materials: Revert static types of builtins materials

* git checkout materials too destructive

* git checkout materials too destructive

* adapt StandardNodeLibrary

* git checkout materials too destructive
* BatchedMeshUtils: Introduce convertGLTFToBatchedMeshes()

* improve debug

* cleanup and fix wrong instance count

* refactor to optimize original scene instead

* fix

* keep structure of graph, name and update the original scene instead

* remove empty nodes post transform

* Refactor to SceneOptimizer
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

* NodeMaterial: Use early out in `setupDepth()`.

* Update NodeMaterial.js

* NodeMaterial: Refactor `setupDepth()`.

* NodeMaterial: Clean up.
Mugen87 and others added 30 commits December 11, 2024 14:26
* Node: Document more modules.

* Fix typo.
* add 'texture_depth_multisampled_2d' for `wgslFn`

* Add `NextNode` and `.next()`

* add options for `depthPass()`

* cleanup

* Revert "cleanup"

This reverts commit 9198247.

* Revert "Add `NextNode` and `.next()`"

This reverts commit 1dda4df.

* Merge branch 'dev' into dev-depth-rev

* Revert "Merge branch 'dev' into dev-depth-rev"

This reverts commit 1646103.
…t-stage` (#30105)

* fix `positionWorld` used in `positionNode` and fragment-stage

* update merge dev

* revision
* Node: fix types

* Improve types

* Fix more types

* Update UniformNode.js

* Update PassNode.js

* Update AnalyticLightNode.js

* Update MathNode.js

* Update MathNode.js

---------

Co-authored-by: Samuel Rigaud <[email protected]>
Co-authored-by: Michael Herzog <[email protected]>
* Line2NodeMaterial: fix gap

* Update PerspectiveCamera.js

---------

Co-authored-by: Samuel Rigaud <[email protected]>
Co-authored-by: Michael Herzog <[email protected]>
* Node: Document more modules.

* Node: Document more modules.

* Docs: Clean up.
* vertex shader revision

* revision

* cleanup

* Update Three.TSL.js

* Update webgpu_instance_sprites.jpg

* Update webgpu_tsl_galaxy.jpg

* renames
* improve fog 2

* Update webgpu_instance_sprites.jpg

* update screenshot
* doc: Update post-processing.html

Comparing the relevant example file, I found that there is an error here
It is not clear how the document was generated, I found that other related translation documents also have this error

* Update post-processing.html

* Update post-processing.html

---------

Co-authored-by: Michael Herzog <[email protected]>
Co-authored-by: Samuel Rigaud <[email protected]>
* Node: Document more modules.

* Update Bitangent.js
* Node: Document more modules.

* Node: Document more modules.

* Docs: Clean up.

* Update AccessorsUtils.js
* Update WGSLNodeBuilder.js

Arrays are not currently taken into account by the wgslTypeLib. However, with the struct extension #29908, arrays will also become important as a type.

* enables the use of samplers in compute shaders

Since textureSampleLevel is usable in compute shaders, this small PR allows sampler to be used in compute shaders for this purpose

* Update webgpu_pmrem_scene.html

add background to environment reflection

* Update webgpu_pmrem_scene.html

* Update webgpu_pmrem_scene.html

* Update webgpu_pmrem_scene.html

* Update WGSLNodeBuilder.js

* Add files via upload
* Node: Document more modules.

* Node: Document more modules.

* Exampels: Clean up.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Export shadowWorldPosition from TSL

I think this is missing from #30060?

* Single quotes
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Node: Document more modules.

* Clean up.

* Node: Document more modules.

* Fix E2E.
Co-authored-by: Samuel Rigaud <[email protected]>
* fix camera helper

* Updated screenshot.

---------

Co-authored-by: Mugen87 <[email protected]>
* overloaded atan2

* update dependencies: `atan2` to `atan`
* fix lights property reference

* fix normal map tiles

* improve cache-key performance

* cleanup

* Update TiledLightsNode.js

* cleanup

* Update TiledLightsNode.js
* cleanup

* restore

* optional read-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.