I want to use this noise texture in a sample texture 2D node for a particle system. Instead of the position of particles in a 2D space, I also want the texture to determine the elevation of each particle (black being 0 elevation, white max elevation and grey tones being in between). Every tutorial I come across on YouTube about sample texture 2D only talk about position of particle in a 2D space and not 3D.
Is this possible? And how should I do it?
Thanks!
Hello, @HariPrasad
Yes, it’s possible! You can use the noise texture to control the elevation of particles in a 3D space. To do this:
-
Sample the texture in the particle system’s material using the Sample Texture 2D
node.
-
Use the texture value to drive the Z-axis position of each particle, instead of just the XY position.
-
Map the texture value to a suitable elevation range using a Remap
or Multiply
node.
This way, black areas of the texture will result in particles with 0 elevation, while white areas will have maximum elevation, and grey tones will be in between.
MyDestinyCard
1 Like