You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, the materials for particles are always created from scratch (using <ParticlesMaterial>, which uses three-custom-shader-material to patch our shader code into newly created instances of Three's built-in materials.)
Ideally, we'd be able to patch existing materials. This is important for eg. using materials imported from a GLTF file.
This probably requires a PR to three-custom-shader-material in order for it to accept existing instances of materials.
The text was updated successfully, but these errors were encountered:
As of now, the materials for particles are always created from scratch (using
<ParticlesMaterial>
, which uses three-custom-shader-material to patch our shader code into newly created instances of Three's built-in materials.)Ideally, we'd be able to patch existing materials. This is important for eg. using materials imported from a GLTF file.
This probably requires a PR to three-custom-shader-material in order for it to accept existing instances of materials.
The text was updated successfully, but these errors were encountered: