gpu_set_colorwriteenable() - Locking Color Channels in GameMaker (audio screwy)

Channel:
Subscribers:
10,500
Published on ● Video Link: https://www.youtube.com/watch?v=anu2_UqbwOg



Duration: 7:49
264 views
20


Sometimes it can be useful to be able to control whether or not color channels get written to the render target when you draw something. GameMaker gives us a handy little function to do just that!

The frequently-mentioned surface alpha video:
https://youtu.be/C6tv35RgV_s

Shader playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdkihto8Xu7hhp1-5Gj8zsa
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V
GameMaker Studio 2 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdAGC6YHCqn_VR69GlR_rQw

0:00 Introduction
0:10 gpu_set_colorwriteenable
1:01 What it does
1:53 What it *doesn't* do
2:57 Working through an example by hand
4:04 Passing an array as an argument
6:26 The end

#GameMaker
#GameMakerColors
#GameMakerAdvancedDrawing
- - - - -
I've now made that Patreon:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about

Rate, comment, subscribe, watch more, enjoy!







Tags:
game maker
game maker surface alpha
game maker colors
game maker color channels



Other Statistics

The Game Maker - The 18th Carol Reed Mystery Statistics For DragoniteSpam

At this time, DragoniteSpam has 600,865 views for The Game Maker - The 18th Carol Reed Mystery spread across 393 videos. The game makes up over 5 days of published video on his channel, or 11.07% of the total watchable video for The Game Maker - The 18th Carol Reed Mystery on DragoniteSpam's YouTube channel.