Author Topic: [ANNOUNCEMENT] Blending modes will come to Attract Mode  (Read 125 times)

Oomek

  • Sr. Member
  • ****
  • Posts: 126
    • View Profile
[ANNOUNCEMENT] Blending modes will come to Attract Mode
« on: April 20, 2017, 06:07:03 AM »
I'm planning to add belnding modes to Attract Mode (overlay, multiply, add, subtract)
Are you happy?
« Last Edit: April 21, 2017, 06:08:20 AM by Oomek »

jedione

  • Sr. Member
  • ****
  • Posts: 220
  • punktoe
    • View Profile
Re: [ANNOUNCEMENT] Blending modes will come to Attract Mode
« Reply #1 on: April 20, 2017, 06:07:20 PM »
yes....i am
help a friend....

Oomek

  • Sr. Member
  • ****
  • Posts: 126
    • View Profile
Re: [ANNOUNCEMENT] Blending modes will come to Attract Mode
« Reply #2 on: April 21, 2017, 06:07:10 AM »

mahuti

  • Full Member
  • ***
  • Posts: 63
    • View Profile
Re: [ANNOUNCEMENT] Blending modes will come to Attract Mode
« Reply #3 on: April 21, 2017, 07:52:56 AM »
I can think of a lot of uses for this.

Oomek

  • Sr. Member
  • ****
  • Posts: 126
    • View Profile
Re: [ANNOUNCEMENT] Blending modes will come to Attract Mode
« Reply #4 on: April 22, 2017, 03:40:28 AM »
It appears that for overlay mode I won't be able to make the alpha blending working. It's due to how glsl's output merger belnding states work. I can work around this by making blending modes as a shader, but I wanted to make them native and accessible by setting for example image.blending("overlay"). To make it as a shader it would require to render all the theme objects on the master surface and then pass that surface to the shader to be used as a back buffer.

The good side of this is that I'm not limited to just 4 blending modes. I could do all the ones that Photoshop provides and many more.

Tell me what do you think.