An Easier Way to Render Depth - GameMaker Tutorial

Опубликовано: 20 Февраль 2026
на канале: DragoniteSpam
1,273
49

A while ago I made a video on rendering depth to a texture. With the new surface formats introduced in GameMaker 2023.2, this just got quite a lot easier!

Surface formats:
   • Surface Formats in GameMaker  

Wizard game - deferred lighting and surface formats:
   • 3D Wizards - Week 3 - Deferred Lighting an...  
The original video on rendering depth:
   • Rendering Depth to a Texture - 3D Games in...  
Rendering normals to a texture:
   • Rendering Normals to a Texture - 3D GameMaker  
Multiple render targets:
   • Multiple Render Targets - Advanced Drawing...  

The code:
https://github.com/DragoniteSpam-Game...

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  

0:00 Introduction
1:08 Surface formats
3:38 Writing depth driectly
4:27 Sampling from the depth texture
7:07 The end

#GameMaker
#GameMaker3D
#GameMaker3DDepth
- - - -
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!