Search Unity

Are runtime created CustomRenderTexture supposed to work ?

Discussion in 'Shaders' started by nawash, Sep 27, 2018.

  1. nawash

    nawash

    Joined:
    Jan 29, 2010
    Posts:
    166
    Hi all,

    TLDR: Are runtime created CustomRenderTexture supposed to work ?

    I've made a test using a CustomRenderTexture (CRT for short) using a CustomRenderTexture asset. Now I want to use it in the application, but using a CustomRenderTexture that I create at runtime (because its size is not constant but depends on runtime data)

    I use the same system (CRT material asset, OnDemand on both modes, Double buffered) and at runtime... the latest version of the test CRT is displayed on the RawImage...

    Would someone have an idea of what is happening here ?

    Thanks