-
Notifications
You must be signed in to change notification settings - Fork 0
Improve documentation for Material.needsUpdate #1
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
Conversation
* 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
* 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.
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>
…of floating point depth. (#30941)
… 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
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
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
| 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
|
|
||
| }; | ||
|
|
||
| iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ]; |
Check failure
Code scanning / CodeQL
Client-side cross-site scripting High documentation
user-provided value
|
|
||
| }; | ||
|
|
||
| iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ]; |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium documentation
user-provided value
* 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
* fix vertex-color * Update AttributeNode.js * Update NodeMaterial.js
…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>
Description
Improved the explanation of the
.needsUpdateproperty 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.