Offsetting in view space — after the view transform, before the
projection — is what makes the quad face the camera without a per-system
billboard matrix and without the camera appearing in the render item (§55's
billboardMode is deferred for exactly the reason this pipeline sidesteps:
a per-view model transform would need a per-view render list). view and
projection arrive as separate uniforms rather than the premultiplied
viewProjection the other two pipelines take, because the offset has to
happen between them.
instanceSize is the quad's edge length in world units, so a particle of size
s spans s units across at any depth under a perspective projection —
not a constant number of pixels. The node's own scale does not scale it
(the size never passes through model's linear part); that is a documented
limitation, and the fix is §36's sizeMode, which the MVP tier does not have.
Exported so the picking id pass (ParticleIdProgram) shares this stage
rather than duplicating the billboard math.
The particle vertex stage: a screen-aligned quad, sized in world units.
Offsetting in view space — after the view transform, before the projection — is what makes the quad face the camera without a per-system billboard matrix and without the camera appearing in the render item (§55's
billboardModeis deferred for exactly the reason this pipeline sidesteps: a per-view model transform would need a per-view render list).viewandprojectionarrive as separate uniforms rather than the premultipliedviewProjectionthe other two pipelines take, because the offset has to happen between them.instanceSizeis the quad's edge length in world units, so a particle of sizesspanssunits across at any depth under a perspective projection — not a constant number of pixels. The node's own scale does not scale it (the size never passes throughmodel's linear part); that is a documented limitation, and the fix is §36'ssizeMode, which the MVP tier does not have.Exported so the picking id pass (
ParticleIdProgram) shares this stage rather than duplicating the billboard math.