Uploaded December 2023 | Updated November 2026, 16 hours ago
In this VR Unity tutorial we will create a Fade effect that we will apply whenever the player tries to peek through walls. In my case I will add this to my VR wall climbing mechanic to prevent player from being able to push himself through the wall thus breaking the immersion. Instead we will make the screen fade to black.
Part 1: youtu.be/FVPnp3fTGnw
Scripts on Github:
github.com/SunnyValleyStudio/Unity-VR-Prevent-Head-Clipping-with-Player-Push-Back-and-Fade-effect
Learn more from about Unity Game Dev in my video courses at:
courses.sunnyvalleystudio.com
Join the discord:
discord.gg/RQEtYHz
You can support me through Patreon:
patreon.com/sunnyvalleystudio
00:00 Introduction
00:31 Fading the screen setup
01:50 Fadeout custom shader for VR
04:34 Fadeout script
08:25 Fading out when clipping through wall
13:49 VR Climbing fadeout
In this VR Unity tutorial we will create a Fade effect that we will apply whenever the player tries to peek through walls. In my case I will add this to my VR wall climbing mechanic to prevent player from being able to push himself through the wall thus breaking the immersion. Instead we will make the screen fade to black.
Part 1: youtu.be/FVPnp3fTGnw
Scripts on Github:
github.com/SunnyValleyStudio/Unity-VR-Prevent-Head-Clipping-with-Player-Push-Back-and-Fade-effect
Learn more from about Unity Game Dev in my video courses at:
courses.sunnyvalleystudio.com
Join the discord:
discord.gg/RQEtYHz
You can support me through Patreon:
patreon.com/sunnyvalleystudio
00:00 Introduction
00:31 Fading the screen setup
01:50 Fadeout custom shader for VR
04:34 Fadeout script
08:25 Fading out when clipping through wall
13:49 VR Climbing fadeout










