Author Topic: can the blend mode of blitting be subtractive?  (Read 629 times)

Offline MichaelJPCT

  • long
  • ***
  • Posts: 244
    • View Profile
can the blend mode of blitting be subtractive?
« on: November 30, 2020, 02:37:53 pm »
this is not absolutely necessary, but it may provide more flexibility.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12244
    • View Profile
    • http://www.jpct.net
Re: can the blend mode of blitting be subtractive?
« Reply #1 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?

Offline MichaelJPCT

  • long
  • ***
  • Posts: 244
    • View Profile
Re: can the blend mode of blitting be subtractive?
« Reply #2 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.