public:t-gede-15-1:lab8
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:t-gede-15-1:lab8 [2015/03/10 19:16] – [Discussion] marino | public:t-gede-15-1:lab8 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 42: | Line 42: | ||
time_to_live 10 | time_to_live 10 | ||
// Colour the particles red with a fully opaque alpha value. | // Colour the particles red with a fully opaque alpha value. | ||
- | Colour 1 0 0 1</ | + | colour 1 0 0 1</ |
- **Now we will add some Additional variation** Lets make the time to live random, and give them colour a certain range. We do that by changing the time_to_live and colour attributes in the emitter block. Also change the emission rate to 30 increasing the rate of which the particles spawn. <code cpp>// Destroy the particle after 1 to 4 seconds. | - **Now we will add some Additional variation** Lets make the time to live random, and give them colour a certain range. We do that by changing the time_to_live and colour attributes in the emitter block. Also change the emission rate to 30 increasing the rate of which the particles spawn. <code cpp>// Destroy the particle after 1 to 4 seconds. | ||
time_to_live_min 1 | time_to_live_min 1 |
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-15-1/lab8.1426014974.txt.gz · Last modified: 2024/04/29 13:32 (external edit)