More blending modes

Please include all the blending modes for layer and object effects supported by pixiJs
i really need the difference blending mode

3 Likes

More choices are always great!

1 Like

GDevelop supports all webgl blend modes available in the PixiJS currently used in the engine. (normal, add, multiply, screen)

There is an ‘advanced blend modes’ library/renderer extension available for PixiJS v8, but it is mot part of the base PixiJS library, nor is it backwards compatible.

Maybe once the engine migrates to Pixijs v8? But I think they are still working on initial review, so I’m unclear if/when that will happen.

1 Like

Well then gdevelop should migrate to PixiJS 8

since we could get:

1. NORMAL
2. ADD
3. MULTIPLY
4. SCREEN
5. OVERLAY
6. DARKEN
7. LIGHTEN
8. COLOR_DODGE
9. COLOR_BURN
10. HARD_LIGHT
11. SOFT_LIGHT
12. DIFFERENCE
13. EXCLUSION
14. HUE
15. SATURATION
16. COLOR
17. LUMINOSITY
18. NORMAL_NPM
19. ADD_NPM
20. SCREEN_NPM
21. NONE
22. SRC_IN
23. SRC_OUT
24. SRC_ATOP
25. DST_OVER
26. DST_IN
27. DST_OUT
28. DST_ATOP
29. XOR
30. SUBTRACT
31. ERASE

And well, there is a lot, i must say.

It’s true that these effects lack.

Xierra

Just to be clear Even in PixiJs v8 with the advanced blend modes engine extension, only about 1/3rd of these are supported.

you gotta have a custom library to get all of those i listed.

The only custom library I am seeing for PixiJS that adds blend modes is the one I mentioned above. And it only adds a little under 1/3rd the list.

If you have an alternate library that isn’t the official advanced blend modes one, you’d need to include that in the feature request in order for it to be considered.