ParticleChangeVtxDemo

Overview

Example of changing particle information.

How to Use

Description

Demonstrates methods of changing particle information.

The update method to use differs depending on these factors.

Example when parameters are used by both the GPU and CPU

Changing the vertex color

Example when parameters are used by the CPU only

Changing the lifespan

Although LIFE influences the animation and particles yet to be born, it does not influence the lifespan of particles that already exist because NEG_TIMELIMIT is used to determine when existing particles are to be extinguished.
Animation may become strange depending on these differences.
If this becomes a problem, either revise NEG_TIMELIMIT or make it so LIFE is a stream.

Example when streams are used by both the GPU and CPU

Changing the position of particles

Example when streams are used by the CPU only

Changing velocity


CONFIDENTIAL