Material opacity does not work

This is what it looks like for me at 1 opacity
image

This is at 0 opacity

image

As you can see, things behind it are not visible in opacity 1, but the blue light still shines through

There is no inbetween, only opacity on or off