Singularity/Library/PackageCache/com.unity.render-pipelines..../Shaders/XR/XRMirrorView.shader
2024-05-06 11:45:45 -07:00

42 lines
1.0 KiB
Plaintext

Shader "Hidden/Universal Render Pipeline/XR/XRMirrorView"
{
SubShader
{
Tags{ "RenderPipeline" = "UniversalPipeline" }
HLSLINCLUDE
#pragma exclude_renderers gles
ENDHLSL
// 0: TEXTURE2D
Pass
{
ZWrite Off ZTest Always Blend Off Cull Off
HLSLPROGRAM
#pragma vertex VertQuad
#pragma fragment FragBilinear
#define SRC_TEXTURE2D_X_ARRAY 0
#include "Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl"
ENDHLSL
}
// 1: TEXTURE2D_ARRAY
Pass
{
ZWrite Off ZTest Always Blend Off Cull Off
HLSLPROGRAM
#pragma vertex VertQuad
#pragma fragment FragBilinear
#define SRC_TEXTURE2D_X_ARRAY 1
#include "Packages/com.unity.render-pipelines.universal/Shaders/XR/XRMirrorView.hlsl"
ENDHLSL
}
}
Fallback Off
}