Writing Shaders

BinxShaders accepts DirectX 11 HLSL shader files in its shaders directory - BepInEx/shaders

// @description Description is here
// @param Strength 0.5 0 1 Every @param becomes a config entry and a PARAM_ macro
// @needsdepth        (optional: request the depth buffer)
#include "BinxCommon.hlsli"

float4 PSMain(FSIn i) : SV_Target
{
    float3 c = LoadSource(int2(i.pos.xy)).rgb;       // linear colour of the image so far
    return float4(lerp(c, 1 - c, PARAM_Strength), 1);
}

Don't use Unity shaders, it accepts DX11 HLSL code directly.