TexturePaint icon indicating copy to clipboard operation
TexturePaint copied to clipboard

Painting directly in mesh textures in Unity 3d with shaders

Texture painting in Unity using shaders

This repo contains a setup to render directly in the texture of a mesh. The code renders the mesh using commandbuffer in the uv space of the mesh's texture. For more have a look at the blog post: https://medium.com/@shahriyarshahrabi/mesh-texture-painting-in-unity-using-shaders-8eb7fc31221c

screenshot

Edit: Added support for painting in Albedo, Metalic and Gloss.

Known Issues

There is no support for mipmapping at the moment.