Yes, you can use a custom THREE.ShaderMaterial
with THREE.ParticleSystem
s. Also worth noting is that if you simply want to use a canvas as a texture, you don't need to go through PlaneGeometry
.
can I use shadermaterial on particlesystem?
-
29-03-2022 - |
Question
what am trying to accomplish is to to put a different pixel data as the material of each particle, this is my train of thought: set a canvas as texture of a PlaneGeometry, get pixel chunks of data from PlaneGeometry through fragment shader and put different chunks of that pixel data on any particle I want through the particlesystem's fragment shader, is this posible?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow