Runtime Graffiti / Spray Paint System is a Unity asset for adding interactive spray painting to first-person games, sandbox projects, urban environments, and creative gameplay systems.
Show full description...
The package lets players spray paint directly onto walls and UV-mapped objects during runtime. Paint is applied through mesh UV coordinates, so drawings appear on the actual surface instead of being placed as decals.
Add runtime graffiti, wall painting, erasing, color switching, texture saving, and creative surface drawing to your Unity project.
✨ Main Features
- Runtime Spray Painting
- Paint directly onto UV-mapped mesh surfaces while the game is running.
- Paintable Mesh Surfaces
- Use the PaintableSurface component on walls, props, and custom meshes.
- Continuous Stroke Interpolation
- Fast mouse movement is interpolated into smooth strokes instead of dotted brush marks.
- Right Mouse Button Eraser
- Erase painted areas during gameplay using a separate eraser mode.
- Save & Load System
- Save painted textures and restore drawings later using a PNG-based save/load workflow.
- Auto-Save Support
- Painted textures can automatically save after painting or erasing.
- Color Palette Switching
- Switch between selectable spray paint colors during gameplay.
- First-Person Controller Included
- Test painting immediately using the included first-person player setup.
- Spray Can View Model
- Includes a simple spray can view model for first-person presentation.
- Demo Scene Included
- Includes paintable walls, props, materials, meshes, icons, prefabs, and setup examples.
🖌️ Runtime Surface Painting
Players can spray paint directly onto configured mesh surfaces during gameplay.
The system uses mesh UV coordinates, allowing paint to appear on the actual object surface rather than being placed as floating decals.
Painting Features
- Runtime Texture2D painting
- UV-based paint placement
- Camera raycast painting
- Paintable wall support
- Paintable prop support
- Custom UV-mapped mesh support
〰️ Smooth Continuous Strokes
Fast mouse movement can normally create dotted marks when painting frame-by-frame.
This system includes continuous stroke interpolation, helping spray lines feel smoother and more natural during fast movement.
Stroke Features
- Interpolated brush positions
- Smoother fast mouse movement
- Reduced dotted spray marks
- Continuous line painting
- Better graffiti drawing feel
🧽 Eraser Mode
The package includes a runtime eraser controlled with the right mouse button.
Eraser settings are separate from spray settings, allowing different radius, hardness, and opacity behavior.
Eraser Controls
- Right mouse button erasing
- Separate eraser radius
- Separate eraser hardness
- Separate eraser opacity
- Auto-save after erasing
🌈 Color Palette Switching
Players can switch between multiple spray paint colors during gameplay.
The color palette can be customized through Inspector fields, making it easy to match the visual style of your project.
Palette Features
- Selectable spray colors
- Customizable color palette
- Runtime color switching
- HUD/crosshair support
- Useful for graffiti and creative tools
💾 Save & Load Painted Textures
Runtime drawings can be saved and loaded using a PNG-based save/load system.
Stable Surface IDs allow painted objects to restore their drawings consistently.
Save System Features
- PNG-based texture saving
- Texture loading support
- Auto-save after painting
- Auto-save after erasing
- Manual save hotkey
- Manual load hotkey
- Stable Surface ID system
- Persistent drawings across sessions
🧴 Spray Can & Particle Effect
The package includes a spray can view model and spray mist particle prefab for first-person painting presentation.
Included Visual Elements
- Spray can view model
- Spray mist particle prefab
- HUD/crosshair
- Demo icons
- Demo materials
- Demo prefabs
🛠️ Customizable Settings
The system can be adjusted through Inspector fields to fit different gameplay and art direction needs.
You Can Customize
- Brush radius
- Brush hardness
- Brush opacity
- Eraser size
- Paint range
- Texture resolution
- Save IDs
- Base colors
- Selectable color palette
- Paintable surface settings
🧪 Demo Scene Included
The included demo scene provides a ready environment for testing runtime spray painting.
Demo Scene Includes
- First-person player controller
- Spray can view model
- Spray particle effect
- Paintable walls
- Paintable props
- Color palette switching
- Save/load example
- HUD/crosshair
🧰 Editor Builder
An editor builder is included for regenerating demo assets and rebuilding the demo setup.
Builder Support
- Regenerate demo setup
- Restore demo assets
- Rebuild example content
- Useful for testing and package setup
🎮 Suitable For
- 🎨 Graffiti Games
- Let players paint walls, props, and urban surfaces during gameplay.
- 🏙️ Urban Exploration
- Add spray markings and environmental interaction to city or abandoned locations.
- 🧰 Sandbox Tools
- Give players creative runtime drawing tools on world objects.
- 👻 Horror & Stealth Games
- Use spray paint as a marking mechanic for paths, clues, danger zones, or navigation.
- 🤝 Multiplayer Hangout Prototypes
- Use painting as a social or creative interaction feature.
- 📝 Level Annotation Tools
- Mark surfaces, annotate levels, or create runtime visual notes.
📦 Included
- Runtime spray painting system
- PaintableSurface component
- SprayPainter component
- Camera raycast painting
- Continuous stroke interpolation
- Right mouse button eraser
- PNG save/load system
- Auto-save after painting or erasing
- Stable Surface ID workflow
- First-person controller
- Spray can view model
- Spray mist particle prefab
- HUD/crosshair
- Customizable color palette
- Demo scene
- Demo meshes
- Materials
- Icons
- Prefabs
- Editor builder
- TXT documentation
- Markdown documentation
- PDF documentation
⚙️ Technical Details
Core Painting
- Runtime spray painting on UV-mapped mesh surfaces
- PaintableSurface component for walls, props, and custom meshes
- SprayPainter component with camera raycast painting
- Runtime Texture2D painting
- Continuous stroke interpolation
Brush & Eraser
- Separate spray radius
- Separate eraser radius
- Hardness settings
- Opacity settings
- Right mouse button eraser
Save / Load
- PNG-based save/load system
- Auto-save after painting
- Auto-save after erasing
- Manual save hotkey
- Manual load hotkey
- Stable Surface ID system
Player & UI
- First-person controller included
- Spray can view model included
- Spray mist particle prefab included
- HUD/crosshair included
- Customizable color palette
Demo Content
- Demo scene included
- Demo meshes included
- Demo materials included
- Demo icons included
- Demo prefabs included
- Editor builder included
Compatibility
- Unity 2022.3 LTS compatible
- Windows
- macOS
- Linux
📖 Documentation
English documentation is included in multiple formats and explains setup, paintable surfaces, spray settings, eraser usage, save/load, demo rebuilding, and customization.
Included Formats
- TXT documentation
- Markdown documentation
- PDF documentation
🎨 Paint Directly on World Objects
Add runtime spray painting, erasing, color switching, UV-based surface drawing, save/load, spray particles, and graffiti-style interaction to your Unity project.
Runtime Graffiti / Spray Paint System provides a flexible foundation for graffiti gameplay, sandbox drawing tools, urban interaction, marking mechanics, and creative runtime painting systems.