Technical Question about ALPHAMODE

Previous topic - Next topic

mentalthink

HI there...

The question it´s, in my game I need a great number of ALPHAMODE Commands changing from (+-x) values to 0.0...

The question it´s, it´s the same call one by one, or it´s better have all the graphics whit 0.0 in a part of code and each whit alpha +-x in another part of code..

I think the better it´s have all grouped in parts, but I think the code can be very confusing, and it´s a bit long...

Thanks in advance..

Kitty Hello

There shouldn't be much difference.

MrTAToad

I haven't noticed ALPHAMODE causing any slowdown anywhere - I generally use it multiple times in a loop, so it should be safe to mix values around.

mentalthink

Ok Thanks a lot, I always thinked changing a lot of time ALphamode, can drop down the FPS...

Thanks in advance, very interesting...

monono

If you draw with a big polyvector loop, there should be a  slowdown if go from - to +, but not if you go just to 0 from any direction. As far as I know openGL has to restart the draw call to change the blending modes.