Skip to content

Repository files navigation

Paint PhysicMaterial Overlay

Unity3d overlay window to easily paint or preview PhysicalMaterial at SceneView

PaintPhysicalMaterial_Demo

Features

  • palettes
  • draw all by distance
  • 3D colliders support (Box, Capsule, Sphere, MeshCollider)
  • colored wireframe by physical material
  • set by mouse click in scene
  • set under cursor by hotkey
  • samples scene
  • paint in isolated prefab scene support
  • undo/redo
  • collapse window to disable
  • Unity 2021+ supported

Installation

Usage

  • create palette: Assets/Create/Paint Physics Material Palette
  • fill palette with PhysicsMaterial set Color for them
  • add null material, to control it's color
  • open overlay: press ~ uncollapse Custom, enable Paint Physics Material
  • select your palette
  • select material, then press mouse left button or hotkey in scene object to draw materials. Colors will change
{C8FD8867-BFE9-483D-91BE-E11FA1C3F2E9}

Work In Progress

  • Collider2D support
  • Physics modules optional (with version defines)
  • single file / package branches

About

Unity3d tool to easily display/paint PhysicalMaterials in SceneView

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Contributors

Languages