Firstborn/Assets/AwesomeTechnologies/VegetationStudioPro/Runtime/Shaders/Resources/LODDebug_Stacked.surfshader
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

13 lines
363 B
Plaintext

BEGIN_CODE
void SurfaceFunction(inout Surface o, ShaderData d)
{
if (unity_LODFade.w < 0.5) o.Albedo = float3 (0,1,0);
if (unity_LODFade.w > 0.5) o.Albedo = float3 (1,0,0);
if (unity_LODFade.w > 1.5) o.Albedo = float3 (0,0,1);
if (unity_LODFade.w > 2.5) o.Albedo = float3 (0,1,1);
}
END_CODE