Particle System Random Values - Advanced Materials - Episode 45 @BenCloward
Particle System Random Values - Advanced Materials - Episode 45  @BenCloward
Uploaded March 2024 | Updated September 2026, 2 weeks ago
In order to create a particle system shader in Unreal and Unity, we need each particle plane to have a set of random values. In this video, I show you how to use the particle stack's grayscale vertex colors to generate a random vector3 for each of the particle planes. Later in the series, we're going to use these values to give unique position, rotation, and scale to each particle.

For the Unity version, here's the code for the hash function we create:

bencloward.com/hashcode.txt

------------------------------------

Here's last week's tutorial that shows how to make all of the particle planes face the camera:
youtu.be/HD_V7R2da00

Here's the playlist for all of the videos in the series:
youtube.com/playlist?list=PL78XDi0TS4lGMPYs24UZQ3Ox_fU_xsgZS

Shader Book Recommendations
bencloward.com/resources_books.shtml

------------------------------

Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Link_Code_3.php?q=1526

Background Music
Speo - Reminiscent
youtube.com/watch?v=2NGPW61HBf4

#UnrealEngine #shadergraph #Unity
Particle System Random Values - Advanced Materials - Episode 45Underwater Caustics - Advanced Materials - Episode 41Particle System Color - Advanced Materials - Episode 53Creating Magic Moss With PCG - Procedural Content Generation (PCG) - Episode 10Light Color & Shadow - Custom Lighting Models - Episode 6Combining Signed Distance Fields - Procedural Shapes and Patterns - Episode 3Using Position Data - Shader Graph Basics - Episode 26Fantasy Health Meter Part 2 - Procedural Shapes and Patterns - Episode 20Toon Shader Paint - Shader Graph Basics - Episode 38Detail Normal Mapping - Shader Graph Basics - Episode 13What to do if youre CPU Bound  - Game Optimization - Episode 5Procedural Brick Distortion - Advanced Materials - Episode 31
Ben Cloward |

Particle System Random Values - Advanced Materials - Episode 45

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER