LightRays Block - scene objects

I’d like to use the LightRays Block (Light Rays • Sugar – Qualitative asset store for Social AR creators) in a scene together with 2D and 3D assets, but I can’t get them to appear together without some error. I tried to use render pass but the way I did it still didn’t work. Does anyone know how I could resolve this?
(the black square on the image should be an alpha)


One easy way to make black act as alpha is to change your material’s blend mode to some additive option (add, lighten, screen).

Otherwise, you can take the luminance of the rendered block and pack it as the alpha channel.