Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.