Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/