Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDRP Custom Render texture shaders/templates?

Discussion in 'Graphics Experimental Previews' started by DuvE, Jun 24, 2019.

  1. DuvE

    DuvE

    Joined:
    May 22, 2016
    Posts:
    168
    Hi,

    Is there templated for ShaderGraph for CustomRenderTexture update and initialization? Or at least some documentation on this.
     
    LooperVFX likes this.
  2. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    I'm interested on this as well. Manual only points to shader modifications that work on built-in renderer.
     
  3. JPDoiron

    JPDoiron

    Joined:
    Jan 11, 2013
    Posts:
    16
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Well, that only works out of the box on LWRP/URP. HDRP SG's don't work with CRT at all.

    But since CRT itself doesn't use SRPs, you can just write old style shaders for CRT and they work, even if you use HDRP for actual game rendering. This also allows you to use 3rd party node graphs like Amplify Shader Editor which has native CRT support.