Advanced Blend Modes - Multiplicative Blending (and more) in GameMaker
DragoniteSpam
0:00 / 0:00
Advanced Blend Modes - Multiplicative Blending (and more) in GameMaker
2 699 просмотров · 4 года назад
DragoniteSpam
12,8 тыс. подписчиков
2 699 просмотров · 4 года назад
There's a lot more that you can do with blend modes in GameMaker besides the four that I talked about last week. Let's go over some of the things you can do with the gpu_set_blendmode_ext function!
A few years after this video was made, GameMaker added support for the blending equation. This makes a few more Photoshop blend modes doable without a shader:
• Blend Modes and Blend Equations in GameMaker
Example on Github:
https://github.com/DragoniteSpam-Game...
My blend mode preview tool:
https://dragonite.itch.io/blend-mode-...
GameMaker Studio 2.3 playlist:
• GameMaker: New & Beta Features
GameMaker 3D playlist:
• 3D in Game Maker Studio 2
Thumbnail credit:
blend by Adnen Kadri from the Noun Project
0:00 Introduction
1:27 The math of blending colors
2:35 gpu_set_blendmode_ext
3:45 Recreating bm_normal
6:00 Recreating bm_add
7:30 Recreating bm_subtract
9:00 Recreating bm_max
11:00 Implementing multiplicative blending
13:40 Implementing "screen" blending
14:36 Photoshop's Linear Dodge is just additive blending
15:47 gpu_set_blendmode_ext_sepalpha exists and may occasionally be useful
16:14 Acknowledgement of shaders (we'll talk more about these some other day)
17:07 That's it
#GameMaker
#GameMakerBlendModes
- - - -
I've now made that Patreon:
/ wizardragon
That promised social media link spam.
/ dragonitespam
Transition / idle music is by my old friend Kamex:
/ greatgabite
Rate, comment, subscribe, watch more, enjoy!