Skip to content

Latest commit

 

History

History
99 lines (60 loc) · 3.13 KB

README.md

File metadata and controls

99 lines (60 loc) · 3.13 KB

PRs Welcome

Free Prefab Painter

A free, basic prefab-painter for Unity3D.

UI

Installation

After you've downloaded the files, you have 3 options to 'install' this tool.

  • Download this repository and put the downloaded files in your Assets/ folder.
  • Download this repository somewhere in your files. Then in Unity locate the package.json file through the package manager UI.

UPM

  • Reference this git repository in your project manifest file under dependencies. This will add the package to you project.

    "me.ameye.prefab-painter": "https://github.com/alexanderameye/prefab-painter.git"

Features

  • Paint on every type of surface (plane, terrain, sphere,...)
  • Paint multiple types of prefabs at once
  • Paint with random prefab rotations
  • Paint with random prefab sizes
  • Prefab previewer
  • Customizable brush size, density
  • Paint on selected layers
  • Palettes/presets functionality with useful toolbar
  • Dynamic prefab list

Painting

ctrl + left mouse button to paint

ctrl + scroll to change the brush size

alt + scroll to change the brush density

Make sure that the layer settings in the prefab painter are set up correctly!

Palettes

Palettes are 'painting presets'. You can for example create a 'Trees' that contains 3 different types of trees. You can manage your palettes using the palette toolbar. You can use the 'Load' button to load a custom palette from your project folder, or you can create a new palette by clicking 'palettes > New Palette'. After you've edited a palette, don't forget to save it. You can relocate or rename palettes however you want.

Palettes

Compatibility

This tool has been tested with Unity 2018.3.0f2.

Unity forum thread

https://forum.unity.com/threads/released-free-prefab-painter-github.506118/

Roadmap

These are the planned features in no particular order. Not all features marked 'done' are on GitHub already.

✔️ Improved palette system with new toolbar

✔️ Undo/redo support

✔️ Package manager support

✔️ Better prefab list UI with drag-and-drop functionality

✔️ Palette save location menu and renaming functionality

❌ Prefab list multi-select and delete functionality

❌ Painting code cleanup

❌ Slope and altitude painting rules

❌ New painting handle look

❌ Probability settings per prefab

❌ Erase brush

❌ Grid brush

❌ Runtime prefab placing

❌ Paint aligned to painting stroke

Known Issues

These are some known issues and inconveniences I'd like to fix.

🪲 Sometimes when you edit the settings of a prefab, the settings don't get registered without pressing enter

🪲 Some prefabs don't get placed

🪲 Undo error when undo object is null