Files
YachtDice/Assets/Plugins/AllIn1SpriteShader/Shaders/ShaderLibrary/AllIn1SpriteShaderSRP_URPHelper.hlsl
T
2026-02-23 22:01:07 +07:00

14 lines
407 B
HLSL

#ifndef ALLIN1SPRITESHADERSRP_URPHELPER
#define ALLIN1SPRITESHADERSRP_URPHELPER
//clipPos and positionWS only used in HDRP. They're here to make both functions have the same parameters
float4 AllIn1MixFog(float4 inputColor, float4 clipPos, float3 positionWS, float fogCoord)
{
float4 res = inputColor;
res.rgb = MixFog(inputColor.rgb, fogCoord);
return res;
}
#endif //ALLIN1SPRITESHADERSRP_URPHELPER