Game Development Community

Using a Particle Effect as the sun?

by Robert Lee · in Torque Game Engine · 01/07/2005 (4:24 pm) · 1 replies

I've got a nifty particle effect of a burning ball of gas that I'd like to use as the sun in a level. The only way I can think of achieving this is to scale the particles to a large amount and place them far up in the skybox but this seems kind of hacky.

Is there an easier way to set this particle effect in the world in a way that it always appears to be the same size and disatance away?

#1
01/07/2005 (6:12 pm)
Quote:
The only way I can think of achieving this is to scale the particles to a large amount and place them far up in the skybox but this seems kind of hacky.

doesn't sound too bad to me. Have you tried it yet? it's just as hacky as having a sky box :)

you could add an option to the particle emitters to render objects with a constant screen size..
look in fxSunlight at how it calculates BBRadius for an idea.