SHARE
TWEET

Untitled

a guest Jun 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Shader "Custom/sample" {
  2.        SubShader{
  3.               Tags { "Queue" = "Transparent" }
  4.               LOD 200
  5.               CGPROGRAM
  6.               #pragma surface surf Standard alpha:fade
  7.               #pragma target 3.0
  8.               struct Input {
  9.                      float2 uv_MainTex;
  10.               };
  11.               void surf(Input IN, inout SurfaceOutputStandard o) {
  12.                      o.Albedo = fixed4(0.9f, 0.9f, 0.9f, 1);
  13.                      o.Alpha = 0.6;
  14.               }
  15.               ENDCG
  16.        }
  17.               FallBack "Diffuse"
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top