I was having similar issues when trying to blit using a custom shader inside a scriptable render pass/feature (works fine in editor/windows but black screen in webgl) This thread and specifically this solution solved my issues Graphics.Blit produces transparent texture when passing a Material (bug?)
1 Like