Files
UltimateFishing/Assets/Resources/4textures/mte-4textures-diffuse.shader
2026-02-21 16:45:37 +08:00

50 lines
991 B
Plaintext

Shader "MTE/4 Textures/Diffuse" {
Properties {
_Control ("Control (RGBA)", 2D) = "red" {}
_Splat0 ("Layer 1", 2D) = "white" {}
_Splat1 ("Layer 2", 2D) = "white" {}
_Splat2 ("Layer 3", 2D) = "white" {}
_Splat3 ("Layer 4", 2D) = "white" {}
}
//DummyShaderTextExporter
SubShader{
Tags { "RenderType" = "Opaque" }
LOD 200
Pass
{
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
float4x4 unity_ObjectToWorld;
float4x4 unity_MatrixVP;
struct Vertex_Stage_Input
{
float4 pos : POSITION;
};
struct Vertex_Stage_Output
{
float4 pos : SV_POSITION;
};
Vertex_Stage_Output vert(Vertex_Stage_Input input)
{
Vertex_Stage_Output output;
output.pos = mul(unity_MatrixVP, mul(unity_ObjectToWorld, input.pos));
return output;
}
float4 frag(Vertex_Stage_Output input) : SV_TARGET
{
return float4(1.0, 1.0, 1.0, 1.0); // RGBA
}
ENDHLSL
}
}
Fallback "Diffuse"
//CustomEditor "MTE.MTEShaderGUI"
}