Hello,
To set the solor of a Triapi particle, use
the Color4f function.
You can set the three color ( 0.0 ->
1.0, so, to get a yellow, you
can set 255/255.0, 255/255.0, 0/255.0 =
1.0, 1.0, 0.0 ). Besides,
you can set the alpha value ( forth
argument ).
Be careful with the color ! The TriApi
color isn't active on
Permedia 2 GPU ! And on my GeForce 3, the
color appears sometimes,
and if I walk around the particle, color
disappears :( So,
I made a colored sprite !
--------------------------------------------------------
Cortex HL Albator coder & mapper www.hlalbator.fr.st --------------------------------------------------------
|
- [hlcoders] Particle colors? Matthew Lewis
- RE: [hlcoders] Particle colors? James Williams
- [hlcoders] Particle Colors? Matthew Lewis
- Re: [hlcoders] Particle Colors? skyork99