Frame inside a SurfaceGui becomes Transparent as the camera approaches

Well as it is in the title I would like to know how to solve this problem in which when the camera/character approaches a Frame inside a SurfaceGui it starts to have strange transparency bugs

(Forgive me if you got confused, it’s because I’m using a translator) Here’s a gif to explain it better


If the adornee of a SurfaceGui isn’t being rendered neither will the SurfaceGui. But the contents of the SurfaceGui usually just disappear as soon as the adornee is offscreen. So I’m not exactly sure what is happening. Is there any code running for special effects?

There was only one UIGradient, however I took it out and it remains the same

Apparently this bug is due to DepthOfField

1 Like