31 lines
678 B
Plaintext
31 lines
678 B
Plaintext
Shader "rf4/nature/weather/Clouds Inner" {
|
|
Properties {
|
|
_MinColor ("Cloud Min Color", Vector) = (0.035,0.035,0.035,0)
|
|
_Color ("Cloud Color", Vector) = (0.5,0.5,0.5,0.5)
|
|
_MainTex ("Cloud Texture", 2D) = "white" {}
|
|
_CloudFogFactor ("Cloud fog factor", Range(0, 1)) = 1
|
|
}
|
|
//DummyShaderTextExporter
|
|
SubShader{
|
|
Tags { "RenderType"="Opaque" }
|
|
LOD 200
|
|
CGPROGRAM
|
|
#pragma surface surf Standard
|
|
#pragma target 3.0
|
|
|
|
sampler2D _MainTex;
|
|
fixed4 _Color;
|
|
struct Input
|
|
{
|
|
float2 uv_MainTex;
|
|
};
|
|
|
|
void surf(Input IN, inout SurfaceOutputStandard o)
|
|
{
|
|
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
|
|
o.Albedo = c.rgb;
|
|
o.Alpha = c.a;
|
|
}
|
|
ENDCG
|
|
}
|
|
} |