Skip to content

Conversation

@anischelly26
Copy link
Owner

Description

Improved the explanation of the .needsUpdate property in the Material documentation file.
Added detailed information and an example to help developers understand when and why to set it to true.

This clarification will be useful for beginners and contributors who often miss this small but important step.

Mugen87 and others added 30 commits March 20, 2025 19:38
* ShadowMaskModel: Fix signatures.

* ShadowMaskModel: Use `mulAssign()`.

* ShadowNodeMaterial: Fix transparent.
Add `@deprecated` tag.
#30768)

* add `computeSkinning` and remove `skinningReference`

* Node: Show warning for recursive code generate

* fix `attributeName` undefined

* add compute() support for NodeMaterial

* update example using `computeSkinning`

* cleanup
* fix `equal()` inconsistent

* cleanup
* Docs: fix typos

* Docs: fix typo

* revert changes

* revert change
…30780)

* Allow max()/min() to take an arbitrary number of arguments

* update docs
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* auto-rename

* Update NodeBuilder.js

* Update NodeBuilder.js
* improve warnings

* cleanup
* deprecated `modInt()`

* improve warnings

* updates

* revision

* fix declarations

* revision

* Update ComputeNode.js
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
* Editor: Add color space options for background textures.

* Editor: Improve color space select.
* introduce `debug()`

* cleanup

* add debug
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
* Automatically clean shape data passed to ExtrudeGeometry

Before triangulating a shape, ExtrudeGeometry now welds any index-adjacent points within a small hardcoded distance threshold of each other. This resolves common triangulation artifacts caused by improperly formatted shape data.

* Code review tweaks

* Update screenshots

---------

Co-authored-by: Garrett Johnson <garrett.kjohnson@gmail.com>
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
Mugen87 and others added 11 commits April 16, 2025 10:36
* fix `build()` return value

* add `webgpu_postprocessing_fxaa` unknown problem

* update description
… set (#30877)

* ShadowNode: Inherit camera.layers only if shadow.layers is not set

* Fix layers check

* invert condition

* restore after render

* move array creation to module scope
* TSL: Add switch/case.

* StackNode: Support Case() sequence.

* StackNode: Refactor `Case()`.
* add expression support for `loop()` update

* Raymarching: update with new approach

* TSLEncoder: update with new approach

* rev

* rev
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
* LightsNode: Honor spotlight maps in cache key.

* LightsNode: Make spot light hash more robust.

// Redirect to the manual

window.location.href = hash.replace(/^manual\/([^\/]+)\/([^\/]+)\/(.+)$/, '../manual/#$1/$3').toLowerCase();

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High documentation

Cross-site scripting vulnerability due to
user-provided value
.

// Redirect to the manual

window.location.href = hash.replace(/^manual\/([^\/]+)\/([^\/]+)\/(.+)$/, '../manual/#$1/$3').toLowerCase();

Check warning

Code scanning / CodeQL

Client-side URL redirect Medium documentation

Untrusted URL redirection depends on a
user-provided value
.
const docType = hash.slice( 0, hash.indexOf( '/' ) + 1 );
let docLink = hash.slice( hash.indexOf( '/' ) + 1 );
docLink = docLink.slice( docLink.indexOf( '/' ) );
location.href = docType + language + docLink;

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium documentation

DOM text
is reinterpreted as HTML without escaping meta-characters.
if ( search ) {

const link = sectionLink.href.split( /[?#]/ )[ 0 ];
sectionLink.href = `${link}?q=${search}`;

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium documentation

DOM text
is reinterpreted as HTML without escaping meta-characters.

};

iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ];

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High documentation

Cross-site scripting vulnerability due to
user-provided value
.

};

iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ];

Check warning

Code scanning / CodeQL

Client-side URL redirect Medium documentation

Untrusted URL redirection depends on a
user-provided value
.
sunag and others added 17 commits April 19, 2025 01:04
* add `Stack()`

* rev

* rev
* BatchedMesh: fix copy function

* BatchedMesh: Update toJSON function

* BatchedMesh.toJSON: small cleanup

* ObjectLoader: Fix BatchedMesh support

* BatchedMesh.copy: Remove redundant field

* Object3D, ObjectLoader: adjust serialized definitions

* ObjectLoader: Copy over necessary info
* Rename `renderer.nodes` -> ``renderer.overrideNodes`

* Add `renderer.highPrecision`
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* `material.shadowPositionNode` renamed to `material.receivedShadowPositionNode`

* add `shadow.mapType`

* add `material.castShadowPositionNode`

* add `webgpu_caustics` example

* update title

* add stats

* use webgpu

* add `webgpu_volumetric_caustics` example

* updates

* Update puppeteer.js

* Update puppeteer.js

* Update webgpu_volume_caustics.html

* fix shadow-map alpha

* add glass example

* Update webgpu_shadowmap_opacity.jpg

* Update webgpu_volume_caustics.html
* add `parents` properties

* TSL: Fixes the return value of `atomic*` nodes
* auto-cache

* Update AtomicFunctionNode.js
* fix vertex-color

* Update AttributeNode.js

* Update NodeMaterial.js
* remove layout

* rename
…ion signature (#30976)

* improve debug callback

* Update DebugNode.js

* Update DebugNode.js

* Update DebugNode.js

* Update DebugNode.js
* removed example because puppeteer always  make black screenshot

* Revert "removed example because puppeteer always  make black screenshot"

This reverts commit 3376eb8.

* Update WGSLNodeBuilder.js

---------

Co-authored-by: Attila Schroeder <attila-schroeder.79@gmail.com>
Co-authored-by: sunag <sunagbrasil@gmail.com>
@anischelly26 anischelly26 merged commit 248189e into anischelly26:dev Apr 22, 2025
9 checks passed
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.