Hi all,
I need to create a map on the top/right side of screen, but I need to crop it, so it would be rounded and with border. I use Render Texture for the map. And I think GUI texture masking will be best problem solution.
Thanks in advance ![]()
Hi all,
I need to create a map on the top/right side of screen, but I need to crop it, so it would be rounded and with border. I use Render Texture for the map. And I think GUI texture masking will be best problem solution.
Thanks in advance ![]()
Just make the texture have an alpha channel.
Those parts of the image will be transparent.
You can use PhotoShop or GIMP to do this.
If you are using a renderTexture for a minimap, you should just make a small, circular mesh that floats in front of the camera. Then, when you apply the renderTexture to that mesh, the edges will be rounded accordingly.