Skip to content

Commit 0f93b6f

Browse files
authored
PointsNodeMaterial: Clarify docs for sizeNode. (#31529)
* PointsNodeMaterial: Clarify docs for `sizeNode`. * Update PointsNodeMaterial.js Fix typo. * Update PointsNodeMaterial.js
1 parent d786e5e commit 0f93b6f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/materials/nodes/PointsNodeMaterial.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class PointsNodeMaterial extends SpriteNodeMaterial {
3535
/**
3636
* This node property provides an additional way to set the point size.
3737
*
38+
* Note that WebGPU only supports point primitives with 1 pixel size. Consequently,
39+
* this node has no effect when the material is used with {@link Points} and a WebGPU
40+
* backend. If an application wants to render points with a size larger than 1 pixel,
41+
* the material should be used with {@link Sprite} and instancing.
42+
*
3843
* @type {?Node<vec2>}
3944
* @default null
4045
*/

0 commit comments

Comments
 (0)