Unity | How to make a Portal Decal Effect (VFX Breakdown)

preview_player
Показать описание
Here's the post with all the files (for BIRP and URP):

Here's the Unity doc about reconstructing worldspace from the depth buffer: (they use it in a screenspace effect way with a plane instead of a cube)

Here's my github site:

Licensed under Creative Commons: By Attribution 4.0 License
Рекомендации по теме
Комментарии
Автор

Thank you for sharing your experience and hard work with everyone!

silentoast
Автор

Awesome video, thank you so much for sharing the code!

For anyone using URP in 2020.3.21 I had a Z-fighting issue, I had to change the "Depth Texture Mode" = "Force Prepass" in my "Universal Renderer Data" asset to fix it.

krooqs
Автор

How do I get it to show up in Orthographic view?

justy
Автор

Hi!!! Can you make a video explaining how to change or use the same animations or avatar you use with a different character model?

tboxfinn
Автор

Can this be used on quest3 VR with passthrough.. so the player is in their own lounge and can see a virtual door in front of them and when they move forward they enter a virtual world - like entering a Tardis

CloudlessRan