s_particleNormal
global · models
- Address
0xcf5878· 12 bytes, up to0xcf5883- Type
float[3]- Meaning
- Holds the normal every particle vertex takes, the view image of world +z
- Confidence
- verified, proof one
- Finding
- models/particles#particle-view-space
Finding: Particle view space in models: particles
An emitter draws in view space with the device view set to identity. Positions go through the particle matrix: for an emitter in its own space, the emitter matrix, then a translation by minus the camera position, then the view; otherwise the reference frame, when given, then the translation and the view. Every vertex takes as normal the view image of world +z.
The derivation is in the doc.