I need unique number per particle accesible in my shader. The description for ParticleSystemVertexStream.StableRandomX in the documentation sounds like exactly what I need: Unity - Scripting API: ParticleSystemVertexStream.StableRandomX
But the documenation is sparse. I have no idea how to use this.
Googling for ParticleSystemVertexStream.StableRandomX returns almost literally nothing except that page.
Ideally, I’d like to be able to access a random unique number per particle inside the shader used on the particle system without even needing a C# script on the particle system gameobject.