Skip to content

Instantly share code, notes, and snippets.

@mycodingdad
mycodingdad / arproxy.shader
Last active Sep 30, 2019
Unity shader for Universal RP and AR Foundation, renders as transparent with occlusion and shadows. Put this on AR planes to get shadows and occlusion for 3D objects. (From https://gist.github.com/StigOlavsen/c75c78df4e704aeb5f904b6c851748ff)
View arproxy.shader
Shader "AR Proxy"
{
Properties
{
}
SubShader
{
Tags
{
@mycodingdad
mycodingdad / AR Proxy.shader
Created Sep 30, 2019
Unity shader for Universal RP and AR Foundation, renders as transparent with occlusion and shadows. Put this on AR planes to get shadows and occlusion for 3D objects.
View AR Proxy.shader
Shader "AR Proxy"
{
Properties
{
}
SubShader
{
Tags
{
You can’t perform that action at this time.