{"id":13598234,"url":"https://github.com/EsProgram/InkPainter","last_synced_at":"2025-04-10T06:31:43.074Z","repository":{"id":44337762,"uuid":"68298847","full_name":"EsProgram/InkPainter","owner":"EsProgram","description":"Texture-Paint on Unity.","archived":false,"fork":false,"pushed_at":"2018-08-17T05:26:37.000Z","size":144974,"stargazers_count":1234,"open_issues_count":22,"forks_count":170,"subscribers_count":46,"default_branch":"master","last_synced_at":"2024-10-30T02:36:56.892Z","etag":null,"topics":["c-sharp","csharp","paint","shader","shaderlab","texture-paint","unity"],"latest_commit_sha":null,"homepage":"https://esprogram.github.io/InkPainterDocument/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EsProgram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-15T13:59:17.000Z","updated_at":"2024-10-28T17:57:43.000Z","dependencies_parsed_at":"2022-09-08T20:31:18.048Z","dependency_job_id":null,"html_url":"https://github.com/EsProgram/InkPainter","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsProgram%2FInkPainter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsProgram%2FInkPainter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsProgram%2FInkPainter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsProgram%2FInkPainter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EsProgram","download_url":"https://codeload.github.com/EsProgram/InkPainter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223238139,"owners_count":17111362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","csharp","paint","shader","shaderlab","texture-paint","unity"],"created_at":"2024-08-01T17:00:50.659Z","updated_at":"2024-11-06T22:31:55.550Z","avatar_url":"https://github.com/EsProgram.png","language":"C#","readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/EsProgram/InkPainterDocument/blob/master/UnityTexturePaint_Icons/logo.png\" width=\"600\"/\u003e\n\u003c/p\u003e\n\n------------\n\n# InkPainter\n\n[![GitHub license](https://img.shields.io/github/license/EsProgram/InkPainter.svg)](https://github.com/EsProgram/InkPainter/blob/master/LICENSE.txt)\n[![release](https://img.shields.io/badge/release-nv1.2.1-blue.svg)](https://github.com/EsProgram/InkPainter/releases)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-blue.svg)](https://github.com/EsProgram/InkPainter/pulls)\n\n\n[![GitHub issues](https://img.shields.io/github/issues/EsProgram/InkPainter.svg)](https://github.com/EsProgram/InkPainter/issues)\n[![GitHub forks](https://img.shields.io/github/forks/EsProgram/InkPainter.svg)](https://github.com/EsProgram/InkPainter/network)\n[![GitHub stars](https://img.shields.io/github/stars/EsProgram/InkPainter.svg)](https://github.com/EsProgram/InkPainter/stargazers)\n[![Twitter](https://img.shields.io/twitter/url/https/github.com/EsProgram/InkPainter.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2FEsProgram%2FInkPainter)\n\n\n\nThis asset allows you to Texture-Paint on Unity.\nSelling at [Asset Store](https://www.assetstore.unity3d.com/jp/#!/content/86210).\n\nDocument is [here](https://esprogram.github.io/InkPainterDocument/).\n\n\n## How to use\n\nAttach a \"InkCanvas\" to the object you want to paint and call the Paint method from any script.\n\nex)\n```SamplePainter.cs\nusing Es.InkPainter;\n\npublic class SamplePainter : MonoBehaviour\n{\n\t[SerializeField]\n\tprivate Brush brush;\n\n\tprivate void Update()\n\t{\n\t\tif(Input.GetMouseButton(0))\n\t\t{\n\t\t\tvar ray = Camera.main.ScreenPointToRay(Input.mousePosition);\n\t\t\tRaycastHit hitInfo;\n\t\t\tif(Physics.Raycast(ray, out hitInfo))\n\t\t\t{\n\t\t\t\tvar paintObject = hitInfo.transform.GetComponent\u003cInkCanvas\u003e();\n\t\t\t\tif(paintObject != null)\n\t\t\t\t\tpaintObject.Paint(brush, hitInfo);\n\t\t\t}\n\t\t}\n\t}\n}\n```\nSee documentation and movies for more details.\n\n## Extended Asset\n\nIt is an asset of another repository using InkPainter.\n\n* [WaveformProvider](https://github.com/EsProgram/WaveformProvider)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/EsProgram/WaveformProvider\"\u003e\n   \u003cimg src=\"https://github.com/EsProgram/WaveformProvider/blob/master/Image/002.gif\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/EsProgram/WaveformProvider\"\u003e\n   \u003cimg src=\"https://github.com/EsProgram/WaveformProvider/blob/master/Image/005.gif\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n## Movies\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/EsProgram/InkPainter/blob/master/Capture/drop.gif\" width=\"600\"/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Liquid paint affected by normal map.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=TWGK5UQ6KsU\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/TWGK5UQ6KsU/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter demo movie(Click image).\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://youtu.be/rsH0279pIoU?list=PLemdDkL7bE3IOmxNyz07uA3mydSbXGouY\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/rsH0279pIoU/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter rainy day camera effect(Click image).\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=i6Ecml0CwLU\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/i6Ecml0CwLU/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter fluid paint setup(Click image).\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=3wI5HWzeJgs\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/3wI5HWzeJgs/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter simple paint setup(Click image).\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=ICETzPk8Jic\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/ICETzPk8Jic/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter setup(Click image).\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.youtube.com/watch?v=Se_RuI2rl2M\"\u003e\n   \u003cimg src=\"http://img.youtube.com/vi/Se_RuI2rl2M/0.jpg\" width=\"600\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n InkPainter how to use(Click image).\n\u003c/p\u003e\n\n## Sponsor\n\n* \u003ca href=\"http://jirka.marsik.me/\"\u003eJirka Maršík\u003c/a\u003e\n* \u003ca href=\"https://www.twitter.com/daxpandhi\"\u003eDax Pandhi\u003c/a\u003e\n\n# The MIT License\n\nCopyright (c) 2017 Es_Program\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["Open Source Repositories","ComputerGraphics \u0026\u0026 Shadingv","C# #","C\\#","C#","Open Source Packages"],"sub_categories":["Utilities","Google Analytics"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsProgram%2FInkPainter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEsProgram%2FInkPainter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsProgram%2FInkPainter/lists"}