mirror of
https://github.com/ApfelTeeSaft/Slender.git
synced 2026-08-26 19:33:36 +00:00
31 lines
840 B
Plaintext
31 lines
840 B
Plaintext
Shader "Hidden/Nature/Tree Creator Leaves Rendertex" {
|
|
Properties {
|
|
_TranslucencyColor ("Translucency Color", Color) = (0.73,0.85,0.41,1)
|
|
_Cutoff ("Alpha cutoff", Range(0,1)) = 0.5
|
|
_HalfOverCutoff ("0.5 / alpha cutoff", Range(0,1)) = 1
|
|
_TranslucencyViewDependency ("View dependency", Range(0,1)) = 0.7
|
|
_MainTex ("Base (RGB) Alpha (A)", 2D) = "white" {}
|
|
_BumpSpecMap ("Normalmap (GA) Spec (R) Shadow Offset (B)", 2D) = "bump" {}
|
|
_TranslucencyMap ("Trans (B) Gloss(A)", 2D) = "white" {}
|
|
}
|
|
//DummyShaderTextExporter
|
|
|
|
SubShader{
|
|
Tags { "RenderType" = "Opaque" }
|
|
LOD 200
|
|
CGPROGRAM
|
|
#pragma surface surf Lambert
|
|
#pragma target 3.0
|
|
sampler2D _MainTex;
|
|
struct Input
|
|
{
|
|
float2 uv_MainTex;
|
|
};
|
|
void surf(Input IN, inout SurfaceOutput o)
|
|
{
|
|
float4 c = tex2D(_MainTex, IN.uv_MainTex);
|
|
o.Albedo = c.rgb;
|
|
}
|
|
ENDCG
|
|
}
|
|
} |