Search Unity

Writing convertible shaders

Discussion in 'Universal Render Pipeline' started by Epiplon, May 19, 2020.

  1. Epiplon

    Epiplon

    Joined:
    Jun 17, 2013
    Posts:
    52
    I have a project in the asset store that ships with some custom shaders that I wrote. However, they are built for the standard graphics pipeline.

    How can I make sure they can be converted to URP if the user choose to upgrade the project materials? Or maybe write code that is compatible between rendering pipelines?
     
    Last edited: May 19, 2020
  2. buFFalo94

    buFFalo94

    Joined:
    Sep 14, 2015
    Posts:
    273
    I don't think it's feasible, the only way we we've found for conversion from one pipeline to another is to use Amplify Shader Editor
     
  3. Epiplon

    Epiplon

    Joined:
    Jun 17, 2013
    Posts:
    52
    So you can build shaders that are compatible with both with Amplify?
     
  4. buFFalo94

    buFFalo94

    Joined:
    Sep 14, 2015
    Posts:
    273
    Yes it's takes like a minute to convert