๐Ÿ“ธCreating Icons

Here is a quick tip on how you can create icons

Usually icons show only one object, so if you want to create icons with a transparent background, here is one of the best ways you can do it

Creating icons using layer mask

Learn how to create Icons with layer mask.

  1. Create a new layer mask in your project. You can call it whatever you want. As a sample name, we will use "Icon Mask"

  2. Select the object you want to make the icon, change its layer - and its children if needed - to new the layer "Icon mask".

  3. Open the PerfectShot Tool and go to the layer mask field.

  4. Select to render only the layer "Icon Mask".

  5. Enable transparent background

  6. Position your scene camera on the best angle and take the shot.

Creating icons using far plane

Learn how to create icons using the far plane option.

  1. Place your icon object in a empty space, with no other objects close.

  2. Open PerfectShot and change the far plane to a low value - maybe 20 or 30.

  3. Position your scene camera on the desired place

  4. take the shot

Custom background and foreground

In PerfectShot, you can use a custom foreground or background on your photos, this can be useful for icons if you want to place it directly to the image files.

Check the Background & Foreground section for more details.

Scripting

Enhance your workflow by integrating PerfectShot directly into your C# scripts. You can apply the PerfectShotImage attribute to any Sprite field, which adds a Create Icon button next to it in the Unity Inspector. Clicking this button opens PerfectShot, and the next captured image will automatically be assigned to the Sprite variable as its icon.

Usage

  • Optionally, pass parameters to the attribute to specify the desired icon resolution (width and height in pixels).

  • This feature is only available in Editor mode and does not function in builds or runtime.

Last updated