A paint shader for Unity 2021.3.2f1 using HLSL
Script to execute shader and shader are both in "scripts" folder. Just apply the script to the camera then drop the shader in the shader section of the script. The rest should auto-fill and you should be able to change values in real time.