is it possible to set both lightblend & alphablend
BlitzMax Forums/BlitzMax Programming/is it possible to set both lightblend & alphablend
| ||
any help is appreciated, thanks! |
| ||
I thought that alphablend was on by default when using lightblend. |
| ||
Does SetBlend ALPHABLEND|LIGHTBLEND work? Haven't tested, but you never know. |
| ||
with alphablend|lightblend..if i setsetalpha to .5 or less, the image wont show up..if i set it to greater than .5, it shows up at full alpha. i was converting something from minib3d to regular blitzmax (there really was no use for me to have been using minib3d for it). i want to use setalpha w/lightblend...im having trouble with that. |
| ||
Blend Modes are not flags, they are single states. If you want more than one state, you will need to figure out the src - dest blending behavior for that case ... For that you will need to look into the OpenGL documentation to see what is present, BM only uses few, most likely not those needed for that case :-) (for the DX side, check DX sdk) |
| ||
I am able to use lightblend for particles and then set alpha for 1 to 0 in tiny steps to fade them out. You must be doing something wrong... could it be you are using a variable to set the alpha and accidentally you've declared it as an integer instead of a float? |