r/Unity2D•
ig3db

How to crop background to a camera?

Ok I have a GUI that looks like this Realmz GUI

And the background object is all rendering outside the gui, scaling the gui is scaling it outside the camera! What I do?

Posted Jun 2, 2018, 6:49 AM UTC

13
roundedge•

Perhaps you could use a sprite mask?

2
ig3dbOP•

Sounds obvious. I'll look that up.

2
ig3dbOP•

That did the trick, thanks!

2