Hello. I would like to use quad tessellation in my Unity3d project, for example I have got the simplest plane mesh and horizontal slider with tessellation values, here is tessellation scale=1:
and with applied custom tessellation shader I could have this one (tessellation scale=2):
but I can't get the right results (even I can't compile sample shader code from the last link, I get lots of errors). Can someone help me and explain issues with Unity3d tessellation (show simple quad tessellation shader with commentaries)?