Skip to content

Repository files navigation

Fallen Icon Creator

Overview

Fallen Icon Creator is a Unity Editor tool designed to rapidly generate high-quality 2D item icons directly from 3D prefabs.

The tool captures a transparent PNG snapshot of any 3D object using a dedicated capture environment and automatically converts the generated image into a Unity Sprite ready for immediate use in:

  • Inventory systems
  • UI interfaces
  • Item databases
  • RPG equipment systems
  • Crafting systems
  • Shops
  • Tooltips
  • Quest systems
  • Developer tooling pipelines

The purpose of this tool is to eliminate the repetitive workflow of:

  • manually positioning objects
  • taking screenshots
  • removing backgrounds
  • cropping images
  • importing textures
  • converting textures into sprites

Everything is automated directly inside the Unity Editor.


Features

Current Features

  • Transparent PNG icon generation
  • Automatic Sprite conversion
  • Automatic folder creation
  • Duplicate icon name prevention
  • Root transform controls
  • Fast prefab swapping
  • Integrated capture workflow
  • Custom icon resolution support
  • Non-destructive prefab handling
  • Temporary editor notifications
  • Fully editor-based workflow
  • Reusable package structure

Folder Structure

Assets/
└── FallenGamesStudio/
    └── IconCreator/
        ├── Demo/
        ├── Editor/
        ├── Icons/
        ├── package.json
        └── README.md

Recommended Setup

The tool is designed around a dedicated icon capture environment scene.

Recommended hierarchy:

Icon Creation Environment
├── Main Camera
├── Directional Light
└── Item Root

The Item Root acts as the parent transform for all captured prefabs.

The prefab itself is automatically instantiated as a child of Item Root during the capture workflow.


Installation

Step 1

Import the package into your Unity project.

Step 2

Open the demo scene located in:

Assets/FallenGamesStudio/IconCreator/Demo

Step 3

Open the editor window:

Tools → Fallen Games Studio → Icon Creator

Basic Workflow

Step 1 — Assign Scene References

Assign:

  • Item Root
  • Capture Camera
  • Capture Light

from the demo scene hierarchy into the editor window.


Step 2 — Assign Item Prefab

Drag a prefab into the Item Prefab field.

When a prefab is assigned:

  • the previous spawned item is automatically removed
  • the new prefab is instantiated under Item Root
  • local position/rotation/scale is reset
  • the icon name field is cleared automatically

This prevents naming confusion and duplicate icon generation mistakes.


Step 3 — Configure Icon Appearance

Use the Item Root Controls section to:

  • move the object
  • rotate the object
  • scale the object

without directly modifying the prefab itself.

Available Controls

  • Position
  • Rotation
  • Scale
  • Individual Reset Buttons
  • Reset All Root Transform

These controls modify the Item Root transform only, ensuring the prefab remains untouched.


IMPORTANT WORKFLOW TIP

For best results:

Use the Game Window while configuring icons.

The Game Window displays exactly how the icon will be captured.

This allows you to:

  • preview framing
  • verify composition
  • adjust scaling
  • test lighting
  • inspect visibility
  • align icon style consistency

before generating the final icon.

Once satisfied with the appearance inside the Game Window: simply press:

Create Icon

to generate the final sprite.

This workflow provides significantly more accurate icon composition.


Lighting & Visual Styling

The capture system fully respects:

  • scene lighting
  • shadows
  • post processing
  • shaders
  • toon shaders
  • emissive materials
  • URP/HDRP rendering
  • custom render effects

This means developers can create:

  • stylized RPG icons
  • glowing magical items
  • dark fantasy icons
  • anime item icons
  • high contrast icons
  • soft lighting icons
  • cinematic item renders

simply by adjusting the capture environment.


Advanced Usage Suggestions

The system can be extended with:

  • post-processing filters
  • outline shaders
  • custom backgrounds
  • gradient backgrounds
  • bloom effects
  • color grading
  • item rarity color filters
  • batch generation
  • auto framing systems
  • orthographic capture modes

These systems are not included by default but can easily be integrated into the capture environment.


Icon Output

Generated icons are saved as:

PNG + Transparent Background

The tool automatically converts generated textures into:

Sprite (2D and UI)

using Unity's Texture Importer pipeline.

This means generated icons are immediately ready for:

  • UI Image components
  • Inventory slots
  • ScriptableObjects
  • Sprite references
  • Item databases

without requiring manual setup.


Duplicate Name Protection

The tool prevents duplicate icon generation.

If an icon with the same name already exists:

  • icon creation is blocked
  • the user receives a warning message
  • the icon must be renamed before capture

This helps maintain:

  • clean repositories
  • organized item databases
  • easier asset lookup
  • consistent naming pipelines

Recommended Icon Resolutions

Resolution Usage
128x128 Mobile / Low memory
256x256 Standard RPG inventory icons
512x512 High detail icons
1024x1024 Marketing / Promotional renders

Recommended default:

256x256

Best Practices

Maintain Consistent Angles

Try to keep:

  • similar rotation angles
  • similar framing
  • similar scaling

across all icons.

This creates:

  • visual consistency
  • cleaner inventory appearance
  • more professional UI presentation

Use Dedicated Lighting

Different icon categories can benefit from different lighting setups.

Example:

  • weapons → dramatic lighting
  • food → warm lighting
  • magic items → emissive lighting
  • ores/crystals → bloom highlights

Keep Item Root at Origin

The tool is designed around:

0,0,0

as the main capture center.

Avoid manually moving the capture environment hierarchy outside the editor controls.

Use the built-in transform controls whenever possible.


Current Limitations

  • Single item capture only
  • No automatic camera framing yet
  • No batch generation yet
  • No built-in post processing presets
  • No animation capture support

Planned Features

Future planned improvements may include:

  • Batch icon generation
  • Auto object framing
  • Camera presets
  • Lighting presets
  • Icon categories
  • Animation frame capture
  • Orthographic mode
  • Background presets
  • Drag-and-drop batch pipelines
  • Runtime icon generation
  • Custom preview renderer

Performance Notes

The tool is editor-only and intended for development workflows.

It does not affect runtime builds.

Generated icons are lightweight and suitable for:

  • RPG systems
  • large inventory databases
  • crafting systems
  • mobile projects
  • stylized games
  • sandbox games

Compatibility

Tested with:

  • Unity 6
  • URP
  • Standard Render Pipeline

Compatibility with HDRP may require custom lighting adjustments.


Credits

Developed by:

Fallen Games Studio

Tool designed for:

  • fast RPG development
  • inventory systems
  • sandbox games
  • stylized fantasy projects
  • developer productivity workflows

About

Icon Creator Asset Tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages