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: 13 days 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-11-10T22:39:12.171Z (about 2 months ago)
- Topics: assets, unity
- Language: C#
- Homepage:
- Size: 250 KB
- Stars: 13
- 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.