Geometry Attributes
Attributes are named per-point data for geometry. They can be used for both rendering purposes, such as surface normals or texture coordinates, as well as non-rendering purposes such as the velocity of a particle.
Attributes have a data type, which can be one of the following:
- int
- uint16
- float
- vec2
- vec3
- vec4
Standard rendering attributes:
- vec3 N: surface normals
- vec3 T: surface tangents
- vec2 uv: texture coordinates
- vec2 uv2: secondary texture coordinates
- vec4 Cd: point colors
- vec3 v: velocity
- vec3 accel: acceleration
- vec2 life: age of the particle, maximum age of the particle
- vec2 speedLimit: maximum velocity for the particle
- int pstate: state of the particle