UnityURPMirrorShader
A mirror shader that works with VR in URP Unity Latest version (2019.3+), though only with multi-pass
Install / Use
/learn @Avdbergnmf/UnityURPMirrorShaderREADME
UnityURPMirrorShader

A mirror shader that works with VR in URP Unity 2019.4 LTS, though only with multi-pass
I gathered the script from the unity forum and made adjustments so it works with VR and the new URP.
The shader is the culmination of youtube tutorials but its been a while so I can't remember where I got them from. Its made with shadergraph so feel free to play with it and adjust it in any way you like.
The bit that makes this work with VR is the most interesting and it done with a little custom function that I found on the unity forum and adjusted for what I need:
OUT = Left;
if (unity_StereoEyeIndex == 0){
OUT = Left;
}
else {
OUT = Right;
}

How to use:
Place the script on the plane that will act as the mirror, make sure the shader has the textures with the correct names attached, an example shader is given. Additionally add a new tag named "PortalCam". This tag is added to the cameras rendering the water surface, such that that camera itself does not recursively also create additional mirror cameras (portalcam).
Preferably load in the .unitypackage, if that for some reason doesn't work, the separate files are supplied in here as well.
This shader also includes some nice water flowing animations, in case you need those, but you can take these out pretty easily using shader graph by delecting the elements. The textures/maps I used here are also included, so you can have a go at it yourself.
Let me know if something is broken and I will try to help you fix it :)
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
