what programme are you using?
Unity
I'm not entirely familiar with unity but I'm guessing that maybe you need to set up the window ray's material properties and enable it's transparency and/or alpha channel.
Thank you