Grayscale - Shader Effects in GameMaker

Опубликовано: 04 Февраль 2025
на канале: DragoniteSpam
970
39

Let's talk about writing shaders to convert images to grayscale! There are a bunch of other shader effects I want to make videos on going forward. I probably won't be making something like this every week, but I'll throw them in between the other 3D content and the like.

0:00 Introduction
0:27 Grayscale via filter layers
1:42 Grayscale via a simple average
5:30 Grayscale via weighted luma
10:35 Dot products make the world go 'round
13:06 Grayscale intensity
17:21 The end

Github repository:
(coming soon)

HSV conversion in GameMaker:
   • Saturation and Value Shaders - GameMa...  

Hue shift shaders in GameMaker:
   • Hue Shift Shaders - GameMaker Tutorial  

Filter and effect layers in GameMaker:
   • Filter Effects and Filter Layers - Ga...  

On luma (including more on the magic numbers):
https://en.wikipedia.org/wiki/Graysca...
https://en.wikipedia.org/wiki/Luma_(v...)

Shader playlist:
   • Shader Stuff - GameMaker Studio 2  
GameMaker 3D playlist:
   • 3D in Game Maker Studio 2  
GameMaker Studio 2 playlist:
   • Game Maker Studio 2 - General Tutorials  

#GameMaker
#GameMakerShader
#GameMakerGrayscale
- - - -
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!