GridVids
Sign in with YouTube

How Games Keep Players Visible Behind Walls (Unity Shader)

Sunny Valley Studio Oct 22, 2026 14:08
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Chapters
Keep your player visibleโ€”even behind walls! In this Unity 6.6 URP tutorial, weโ€™ll build a cutout shader using Shader Graph and a short C# script. Youโ€™ll learn how to create a circular mask, correct its aspect ratio, make it follow your character, and add a depth comparison suited to flat dungeon layouts. Weโ€™ll also keep the effect out of Scene view and test it with a camera rotating around the player. ๐Ÿ“ฆ Free starter project: https://www.patreon.com/sunnyvalleystudio/posts/free-starter-172973829 โœจ Completed project โ€” available to Patreon supporters: https://www.patreon.com/sunnyvalleystudio/posts/cutout-shader-173073021 ๐ŸŽจ Assets: KayKit Dungeon Pack by Kay Lousberg https://kaylousberg.itch.io/kaykit-dungeon-pack ยทยทยทยทยท Learn more ยทยทยทยทยท Learn more from my courses: https://courses.sunnyvalleystudio.com/ ยทยทยทยทยท Get in touch ยทยทยทยทยท ๐—›๐—ฎ๐˜ƒ๐—ฒ ๐—ฎ๐—ป๐˜† ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€? ๐—๐—ผ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐—ฟ๐—ฑ! https://discord.gg/RQEtYHz ๐—ฃ๐—Ÿ๐—˜๐—”๐—ฆ๐—˜ ๐˜€๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜ ๐˜๐—ต๐—ฒ ๐—ฐ๐—ต๐—ฎ๐—ป๐—ป๐—ฒ๐—น: https://www.patreon.com/sunnyvalleystudio Chapters: #Unity #ShaderGraph #GameDev
Science & Technology
#Unity #Unity tutorial #Unity 6 #Unity 6.6 #Unity Shader Graph #cutout shader #Unity cutout shader #see through walls #see through wall shader #player visibility #occlusion cutout #Unity URP #Shader Graph tutorial #alpha clipping #screen space shader #depth check #top down game #isometric game #dungeon crawler #ARPG #Unity C# #game development #shader tutorial #KayKit #Sunny Valley Studio