2D3D Paint — paint on any objects in unity

Konstantin Saetskiy
2 min readApr 15, 2020

«2D/3D Paint» — is an asset for Unity that allows you to paint on 2D and 3D objects. You can also create modern paint app with cool features and great performance!
Unity 2017–2020 supported.

https://youtu.be/Cy0wIlmph-8

WebGL Demo: http://unitymedved.bitbucket.io/XDPaint/2.2/index.html
Asset Store: https://assetstore.unity.com/packages/slug/138490

🌟 Easy to use
No code-writing skills required: just add a component, setup a few parameters and there you go

🚀 High performance, perfectly works on mobile
Asset uses GPU for painting, which provides high performance, works even on mobile devices

📦 Supports 3D components
Paint on animated objects with great performance! MeshRenderer and SkinnedMeshRenderer are supported. Check out the WebGL demo and see how it’s easy and cool :)

🏞 Supports 2D components
Want paint in 2D too? No problem! SpriteRenderer and RawImage are supported. You can even create you own mobile paint app

🥽 Supports VR
Paint in 3D with any VR-device!

🖌 Supports brushes
Choose brush and paint whatever you want! You can add your custom brushes and configure parameters, as size, color, hardness and opacity

🔧 Includes tools
Choose any tool:
— Brush
— Erase
— Eyedropper
— Brush Sampler
— Clone
— Blur
…and paint! Be sure that more tools will be coming in future updates ;)

💻 Draw from code
Wanna paint on any objects not just using Input? Sure, you can draw on objects from code

💎 No colliders required
No need to add any colliders for work

🛠 Works with any render pipeline
Universal Render Pipeline (LWRP) and High Definition Render Pipeline (HDRP) are supported

Pressure support
Use Apple pencil or any other device with pressure support for the best painting result

Undo / Redo
Did some miss click and want undo your action? Undo and redo are supported

💾 Ability to save changed textures
Want save your result of painting? No problem, asset supports it

🎨 Allows to get average color of texture
Check average color of painting with high performance using GPU

📠 Long Term Support
Make sure that you’ll get support for newer unity versions and new features. I’m preparing a ton of new features, stay tuned ;)

📖 Full C# source code and example scene included

--

--

Konstantin Saetskiy

Hello! My name is Kostya and I have been working with Unity since 2012. I love playing and making games, also my passion is to create assets for unity.