Files
TowerDefence/My project/Library/PackageCache/com.unity.render-pipelines.universal@8a7d82525fcc/Shaders/UnlitMetaPass.hlsl

14 lines
446 B
HLSL
Raw Normal View History

2025-11-14 17:30:41 +00:00
#ifndef UNIVERSAL_UNLIT_META_PASS_INCLUDED
#define UNIVERSAL_UNLIT_META_PASS_INCLUDED
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/UniversalMetaPass.hlsl"
half4 UniversalFragmentMetaUnlit(Varyings input) : SV_Target
{
MetaInput metaInput = (MetaInput)0;
metaInput.Albedo = _BaseColor.rgb * SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, input.uv).rgb;
return UniversalFragmentMeta(input, metaInput);
}
#endif