Vertex offset individual particles rather than all at once

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
urbansam
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

PostFri Apr 13, 2018 9:46 am

Hi, I'm trying to move an area of particles spawn in a box shape.

Attached is the image reference of what I'm trying to achieve in shader forge.
https://drive.google.com/open?id=1bhSNh ... 1UMAUpZTrH
User avatar
nuFF3
Location: Hell

PostSat Apr 14, 2018 12:29 pm

It might be better to just to it through physics and scripting instead of through shaders IMO.

But if you want to go the shader route, I'd do it by using vertex displacement through world UV, and using a script to control where the point of displacement should be.
urbansam
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

PostMon Apr 16, 2018 4:30 pm

Thanks for the reply, I managed to get it working.

I use a particle system, and generate grid of cube mesh particle, using Would UV coordinate supplied to a black and white texture to offset it.

However, I would like to retain the cube shape and just offsetting the Y position of particles. Is there a way to achieve it? Thanks !

Result
https://drive.google.com/open?id=1fuJd0 ... nZY-zonL93

Shader Forge Node
https://drive.google.com/open?id=1TnqA9 ... 5wqm4D16Z8
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Questions”



Who is online

Online users: Bing [Bot] and 2 guests