Game Development Community

Translucent Particles

by Joshua Horns · in Torque 3D Professional · 08/07/2009 (10:34 am) · 4 replies

This thread is just to further a discussion from another thread about particles and shaders.

I'd really like the ability to make translucent particles. I imagine that would require shader support on a per particle type basis.

Could someone put this on a wish list?


#1
08/08/2009 (4:55 pm)
I am confused by what you mean. Particles are translucent. The value is controlled by the alpha value in the texture. You can also adjust the alpha blend on the particle datablock.

Take a look at some of the particle datablocks which are included in "genericParticles.cs"
#2
08/08/2009 (4:58 pm)
Yeah that was a terrible question.

What I meant is ... I want to create a particle emitter that shoots a heat haze effect whereby each particle applies a distortion on the area it covers.

For that I need a custom material on each particle ( I think ).
#3
08/08/2009 (4:59 pm)
Wow haha. Yeah that is WAY different than what you asked.

Yes that is on a feature list somewhere, worry not :)

If you want to hack on this, though. Check out the ParticleRenderInst, the RenderTranslucentMgr, and the ParticleEmitter. They pass around a texture. You could put in a shader that it passed around also, and that would probably work well.
#4
08/08/2009 (5:06 pm)
That's good news. I was wondering about this ... guess it's a ... "shader thing" ... shader using particle materials ... (he says not really understanding what he's talking about).