Game Development Community

Particle Shader??

by Jackie Hayes · in Torque 3D Professional · 02/03/2010 (8:31 pm) · 4 replies

Maybe I am blind or just looking to hard or it can't be done. I am learning allot about shaders but I am just wondering if it is possible to attach a shader material to a particle generated from the particle emmiter. I am just curious if it can be done. What I am thinking is using the particle emmiter to generate the particles and use a shader on the particle to create an effect..like moving bubbles or how the lava looks when it rises from a lava lamp (any of you old guys like me will understand the lava lamp affect :))

Any thoughts..

Thanks!

#1
02/03/2010 (10:14 pm)
Tom Spilman mentioned particles connected to shaders some months ago..just not sure where it is on their priority list.
#2
02/11/2010 (1:21 am)
You won't see particles support materials in 1.1, but you may see it in 1.2.
#3
02/11/2010 (11:23 am)
Cool Tom thanks. I think there could be a lot of cool stuff you could do with a particle shader.
#4
02/11/2010 (2:50 pm)
The current particles do render via a shader in shaders/common/particlesV.hlsl and particlesP.hlsl. If your adventurous you could try to make modifications to that shader directly, but it will affect all particles. To do it right you need to add new parameters in the C++ code and in the shader to control any new features you may want to add.

Or you can wait for 1.2 and use Materials. ;)