Depth & Stencil Buffers | Godot Shader Basics 05 @danielilett
Depth & Stencil Buffers | Godot Shader Basics 05  @danielilett
Uploaded October 2026 | Updated November 2026, 1 week ago
Godot uses the depth buffer to correctly render objects in the right order, and to optimize rendering by discarding some fragments early. Learn how to change how shaders interact with the depth buffer, create x-ray effects, use the depth texture to make better water effects, and then use the stencil buffer to make non-Euclidean impossible rooms!
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/daniel-ilett/godot-shader-basics
📰 Read this tutorial in article format instead: danielilett.com/2026-10-22-gdbasics-5-depth-stencils
------------------------------------------------------------------------
✨ Grab Retro Shaders Pro, my PSX and N64 shader asset pack, for Godot here: danielilett.itch.io/retro-shaders-pro-for-godot
🔮 Or get Hologram Shaders Pro for Godot here: danielilett.itch.io/hologram-shaders-pro-for-godot
------------------------------------------------------------------------
💬 Join the Discord: discord.gg/tPQEUwPpb3
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/danielilett
------------------------------------------------------------------------
Depth & Stencil Buffers | Godot Shader Basics 05Your First Shader | Godot Shader Basics 01Hologram Shaders Pro 1.0 ShowcasePerlin Dissolve Shader | CC0Shaders #gamedev #shadersEnergy Shield Hologram in Unity Shader GraphMaking Holograms with Hologram Shaders Pro #unity #gamedev #madewithunityPortal Effect With One Million Particles | Unity VFX GraphLighting & Shadows | Unity Shader Code Basics 06Creating Zelda: Breath of the Wilds Remote Bomb in Unity Shader Graph & VFX GraphThe PS1s Affine Texture MappingUnity Shader Graph Basics (Part 13 - Terrain Lit Official Support)X-ray Stealth Vision in Unity Shader Graph and Universal Render Pipeline
Daniel Ilett |

Depth & Stencil Buffers | Godot Shader Basics 05

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER