0
\$\begingroup\$

So I am trying to create a uniform 2d grid of particles with VFX graph. I simply compute some X & Y coordinates based on the particleId attribute of each particle and the size of the grid :

int x = particleId % gridWidth;
int y = particleId  /  gridWidth;

Here is the graph I use to do so : enter image description here It produces the expected result for grids of size less or equal than 64*64. However, as soon as the size of the grid exceeds 64, the grid is flickering and some points are randomly missing at each frame :

enter image description here

I have no clue of what's going on, can anyone help ? what am I doing wrong here?

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.