Game Development Community

RGB colours for black particles?

by Mike Stoddart · in Torque Game Engine · 09/27/2002 (7:33 pm) · 1 replies

I can't for the life of me get a black particle to represent smoke when a vehicle is damaged. I thought I had it sussed by using an RGB value of something around "0.1 0.1 0.1 0.5", but that didn't do it. Is there something fundamental I don't understand?

Quote:colors[0] = "0.1 0.1 0.1 0.6";

Thanks

#1
09/27/2002 (10:25 pm)
The closer to black the texture is, the more transparent it will be--unless you use
useInvAlpha = 1;
(can also be: useInvAlpha = true; ).

Eric