Horje
unity occulision for hide something Code Example
unity occulision for hide something
Shader "Custom/PlaneOcclusionShader" { SubShader { Tags { "RenderType"="Opaque" } Tags { "Queue" = "Geometry-1" } ZWrite On ZTest LEqual 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 fixed4(0.0, 0.0, 0.0, 0.0); } ENDCG } } }
Source: medium.com




Csharp

Related
card caption Code Example card caption Code Example
C# creating a hash table linked list Code Example C# creating a hash table linked list Code Example
asp.netcore: develop on win10 run on ubuntu Code Example asp.netcore: develop on win10 run on ubuntu Code Example
how to list all registered users asp net Code Example how to list all registered users asp net Code Example
what error code i should return in asp.net core whether user name or password are incorrect Code Example what error code i should return in asp.net core whether user name or password are incorrect Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9