Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuqunaga/texturepatchwork
Cut out any portion of a texture and paste it onto another texture.
https://github.com/fuqunaga/texturepatchwork
unity unity3d
Last synced: 23 days ago
JSON representation
Cut out any portion of a texture and paste it onto another texture.
- Host: GitHub
- URL: https://github.com/fuqunaga/texturepatchwork
- Owner: fuqunaga
- License: mit
- Created: 2023-06-14T07:04:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T15:04:43.000Z (about 1 year ago)
- Last Synced: 2024-12-01T23:06:51.330Z (3 months ago)
- Topics: unity, unity3d
- Language: C#
- Homepage:
- Size: 7.66 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TexturePatchwork
Cut out any portion of a texture and paste it onto another texture.https://github.com/fuqunaga/TexturePatchwork/assets/821072/05c79c8d-dcbb-4a06-87ee-68ba7f1d3b8b
# Installation
Add the following address to UnityPackageManager.```
https://github.com/fuqunaga/TexturePatchwork.git?path=/Packages/ga.fuquna.texturepatchwork
```# How To Use
### Simply call the method
[`TexturePatchwork.Render()`](https://github.com/fuqunaga/TexturePatchwork/blob/main/Packages/ga.fuquna.texturepatchwork/Scripts/TexturePatchwork.cs#L24)or
### Use `TexturePatchworkBehaviour`
1. Attach a `TexturePatchworkBehaviour` Component to GameObeject.
2. Set `TexturePatchworkBehaviour.patchParameters`.
3. Get the output texture by `patchParameters.Texture`.# Reference
UV Texture - https://uvchecker.vinzi.xyz/