SamuKata
noonesimg
noonesimg

patreon


Particle system with texture3d

Hey! I've been researching a lot of stuff on particle systems and wanted to share this little experiment.

Unfortunately, most of the simple TOP operators (Math, Composite, etc.) don't work with texture 3d input, but you can simply substitute them with a GLSL TOP. You just have to select texture3d as an input option.

Then you need to use sTD3DInput instead of the sTD2DInput to sample from the texture, and also use the vUV.stp instead of vUV.st for the third dimension. In this example, I sample a noise TOP that's moving fast in the 4th dimension to make some sort of a 3d vector field. And then I use a little trick to straighten up the vectors ( you can find the code for it in the maximized_dir operator.

Hope you gonna make some use of it! Don't be shy if you have any questions :)

Cheers! 

Particle system with texture3d

More Creators