![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
One billboard particle for the frame, flattened from the emitters. More...
#include <particle_data.h>
Public Attributes | |
| glm::vec4 | positionSize |
| xyz = world position, w = world-space size. | |
| glm::vec4 | color |
| Linear RGBA. | |
| glm::vec4 | params |
| x = edge softness (0 hard .. 1 soft); yzw reserved. | |
One billboard particle for the frame, flattened from the emitters.
Three vec4s so it uploads straight into a std430 SSBO indexed by instance. Size and colour are already evaluated from age.