29 lines
No EOL
791 B
GLSL
29 lines
No EOL
791 B
GLSL
Shader "Shader Graphs/Water" {
|
|
Properties {
|
|
[HideInInspector] _EmissionColor ("Color", Vector) = (1,1,1,1)
|
|
[HideInInspector] [NoScaleOffset] unity_Lightmaps ("unity_Lightmaps", 2DArray) = "" {}
|
|
[HideInInspector] [NoScaleOffset] unity_LightmapsInd ("unity_LightmapsInd", 2DArray) = "" {}
|
|
[HideInInspector] [NoScaleOffset] unity_ShadowMasks ("unity_ShadowMasks", 2DArray) = "" {}
|
|
}
|
|
//DummyShaderTextExporter
|
|
SubShader{
|
|
Tags { "RenderType" = "Opaque" }
|
|
LOD 200
|
|
CGPROGRAM
|
|
#pragma surface surf Standard
|
|
#pragma target 3.0
|
|
|
|
struct Input
|
|
{
|
|
float2 uv_MainTex;
|
|
};
|
|
|
|
void surf(Input IN, inout SurfaceOutputStandard o)
|
|
{
|
|
o.Albedo = 1;
|
|
}
|
|
ENDCG
|
|
}
|
|
Fallback "Hidden/Shader Graph/FallbackError"
|
|
//CustomEditor "UnityEditor.ShaderGraph.GenericShaderGraphMaterialGUI"
|
|
} |