Particle position and alpha

Hello.

I noticed that the color and alpha or the particles are registered as integers, is there a way to make them register as a float value for the shaders to use?

Also when I made a object position based shader, all the particle positions appear to be at the pivot of the particle system rather than at the center of the individual particles, is there a way to get their world position centers on the individual particle pivots?

Thanks.

They are stored as 0-255 bytes and we don’t have plans to allow floats.

You can pass a float color per particle by using the Custom Data module, as an alternative. (But then you need a custom shader to use the data)

For particle positions, enable custom vertex streams in the renderer module and then you can add Center as a stream. All position data is in world space.

1 Like

Awesome. Thank you.

1 Like