-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Nodes: InstancedPointsNodeMaterial
- Add pointWidthNode
#29236
Conversation
4246ef5
to
cd55da0
Compare
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
The screenshot appears to be passing in local tests. I've tried passing in a new one, but Git keeps indicating that the new image cannot be pushed in, as it is the same as the current one. EDIT: I think I will just add the example as an exception to puppeteer for now. |
…ssed as a StorageBufferNode in a compute shader
2d66689
to
7770831
Compare
Sometimes it is necessary to update the build to take the screenshot. |
InstancedPointsNodeMaterial
- Add pointWidthNode
Description
Add the ability to apply a per instance size attribute to the InstancedPointsGeometry, and access that attribute within the InstancedPointsNodeMaterial. The existing approach is extended, specifying via parameters that the material should access the instanceSize attribute of the relevant geometry rather than the uniform width value passed directly to the material. However, we could modify the material down the line to use an approach more in line with existing node materials, where the output is modified by applying nodes to the material ( such as a positionNode or sizeNode ) rather than setting static parameters that determine the nodes the material creates internally.
Untitled.video.6.mp4