Unity Web Shader IDE
Full source <URP>/Shaders/UnlitMetaPass.hlsl HLSL 14 lines 5 symbols 1 includes Hide source Show source
UnlitMetaPass.hlsl <URP>/Shaders/UnlitMetaPass.hlsl
Language
HLSL
Lines
14
Symbols
5
Includes
1
Open IDE root

<URP>/Shaders/UnlitMetaPass.hlsl full source

#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