Files
Fishing2/Assets/ResRaw/gfx/res/Shader/FX_Gem.shader
2025-12-23 18:03:53 +08:00

30 lines
637 B
Plaintext

Shader "FX/Gem" {
Properties {
_Color ("Color", Vector) = (1,1,1,1)
_ReflectionStrength ("Reflection Strength", Range(0, 2)) = 1
_EnvironmentLight ("Environment Light", Range(0, 2)) = 1
_Emission ("Emission", Range(0, 2)) = 0
[NoScaleOffset] _RefractTex ("Refraction Texture", Cube) = "" {}
}
//DummyShaderTextExporter
SubShader{
Tags { "RenderType"="Opaque" }
LOD 200
CGPROGRAM
#pragma surface surf Standard
#pragma target 3.0
fixed4 _Color;
struct Input
{
float2 uv_MainTex;
};
void surf(Input IN, inout SurfaceOutputStandard o)
{
o.Albedo = _Color.rgb;
o.Alpha = _Color.a;
}
ENDCG
}
}