www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: MichaelJPCT on November 30, 2020, 02:37:53 pm

Title: can the blend mode of blitting be subtractive?
Post by: MichaelJPCT on November 30, 2020, 02:37:53 pm
this is not absolutely necessary, but it may provide more flexibility.
Title: Re: can the blend mode of blitting be subtractive?
Post by: EgonOlsen on November 30, 2020, 03:58:18 pm
I guess so, but it would require some rewrites, because ATM, it's just a boolean flag that gets passed down the pipeline. I'm not sure, if it's really useful. After all, I even left it out when setting up multi texturing, because I see no purpose whatsoever in subtractive blending. Does this ever look good?
Title: Re: can the blend mode of blitting be subtractive?
Post by: MichaelJPCT on November 30, 2020, 10:25:46 pm
it's not about looking good. it should be used only in special case.
when several operations are organized in different ways, different effects are achieved. having more options is always better. one would not know its use until he encounters the case.