One of the things that can make sprites hard to use for 3D in GameMaker is the lack of an easy way to set their Z coordinate without using matrices. Or at least, that was the case until gpu_set_depth() came along!
Here's the code:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DTutorial75GPUSetDepth
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
The Diorama Camera:
https://youtu.be/WURIeXi4rJ8
0:00 Introduction
0:45 Sprite vertex data
2:34 Annoying workarounds for 3D sprite depth
4:45 Using gpu_set_depth
6:42 Instances where I use this in Wizarducks
7:49 Performance and the function name'
9:25 The end
Wishlist Wizarducks on Steam!
https://store.steampowered.com/app/2769920/Wizarducks_and_the_Lost_Hat/
#GameMaker3D
#GameMaker3DOBJ
#GameMakerImportOBJ
- - - - -
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!