Heroes_of_Hiis/Assets/Oculus/Interaction/Runtime/Resources/Shaders/UnderlayTransparentOccluder...

51 lines
1.5 KiB
Plaintext

/************************************************************************************
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved.
Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at
https://developer.oculus.com/licenses/oculussdk/
Unless required by applicable law or agreed to in writing, the Utilities SDK distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
ANY KIND, either express or implied. See the License for the specific language governing
permissions and limitations under the License.
************************************************************************************/
Shader "Hidden/UnderlayTransparentOccluderImposter" {
Properties { }
SubShader {
Tags { "Queue"="Transparent+2000" "RenderType"="Opaque" }
LOD 100
Cull Off
ColorMask 0
Pass {
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
struct appdata {
float4 vertex : POSITION;
};
struct v2f {
float4 vertex : SV_POSITION;
};
v2f vert (appdata v)
{
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
return o;
}
fixed4 frag (v2f i) : SV_Target {
return 0;
}
ENDCG
}
}
}