Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/XJINE/Unity_RenderTextureSetter
Set RenderTexture to camera in runtime.
https://github.com/XJINE/Unity_RenderTextureSetter
assets unity
Last synced: about 2 months ago
JSON representation
Set RenderTexture to camera in runtime.
- Host: GitHub
- URL: https://github.com/XJINE/Unity_RenderTextureSetter
- Owner: XJINE
- License: bsd-3-clause
- Created: 2017-11-15T07:50:03.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-28T08:24:30.000Z (about 1 year ago)
- Last Synced: 2024-08-03T05:21:49.534Z (5 months ago)
- Topics: assets, unity
- Language: C#
- Homepage:
- Size: 250 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity_RenderTextureSetter
Set RenderTexture to camera in runtime.
## Importing
You can use Package Manager or import it directly.
```
https://github.com/XJINE/Unity_RenderTextureSetter.git?path=Assets/Packages/RenderTextureSetter
```### Dependencies
This project use following resources.
- https://github.com/XJINE/Unity_IInitializable
## How to Use
Add ``RenderTextureSetter.cs`` into your camera object and set the texture size and format from Inspector.
When set 0 into the size, it will be Screen.width/height.