Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How would I convert this fixed tessellation shader from CG into HLSL so it can be used with URP?

Discussion in 'Shaders' started by samlaserbeam, Feb 25, 2021.

  1. samlaserbeam


    Oct 2, 2019

    About a quarter of the way through this link, there's code to a fixed amount of tessellation shader that works perfectly for what I'm trying to do, but it's not compatible with the Universal Render Pipeline. I tried changing the "CGPROGRAM" and "ENDCG" to their hlsl counterparts, but that hasn't quite fixed it. I'd there's still a bit more refactoring that needs to happen, so any help is greatly appreciated.