Y
yoyowan
Guest
Trying to figure out what this mode is : bm_complex
I know it deals with blend modes, but this one is not documented at all.
Here are all the others linked with gpu_set_blendmode :
I know it deals with blend modes, but this one is not documented at all.
Here are all the others linked with gpu_set_blendmode :
- bm_normal Normal blending (the default blend mode). (bm_src_alpha, bm_inv_src_alpha)
- bm_add Additive blending. Luminosity values of light areas are added. (bm_src_alpha, bm_one)
- bm_subtract Subtractive blending. Luminosity values of light areas are subtracted. (bm_zero, bm_inv_src_color)
- bm_max Max blending. Similar to additive blending. (bm_src_alpha, bm_inv_src_color)
- bm_zero: Blend factor is (0, 0, 0, 0).
- bm_one: Blend factor is (1, 1, 1, 1).
- bm_src_color: Blend factor is (Rs, Gs, Bs, As).
- bm_inv_src_color: Blend factor is (1–Rs, 1–Gs, 1–Bs, 1–As).
- bm_src_alpha: Blend factor is (As, As, As, As).
- bm_inv_src_alpha: Blend factor is (1–As, 1–As, 1–As, 1–As).
- bm_dest_alpha: Blend factor is (Ad, Ad, Ad, Ad).
- bm_inv_dest_alpha: Blend factor is (1–Ad, 1–Ad, 1–Ad, 1–Ad).
- bm_dest_color: Blend factor is (Rd, Gd, Bd, Ad).
- bm_inv_dest_color: Blend factor is (1–Rd, 1–Gd, 1–Bd, 1–Ad).
- bm_src_alpha_sat: Blend factor is (f, f, f, 1); f = min(As, 1–Ad).
Last edited by a moderator: