Home Unity

Unity3D quad tessellation.

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:
ccs-210185-0-74731300-1366331624.png

and with applied custom tessellation shader I could have this one (tessellation scale=2):
ccs-210185-0-01547400-1366331744.png

and tessellation scale=4:
ccs-210185-0-28378600-1366331669.png
etc.

I read this threads for example:
http://www.gamedev.net/page/resources/_/technical/directx-and-xna/d3d11-tessellation-in-depth-r3059
http://docs.unity3d.com/410/Documentation/Components/SL-SurfaceShaderTessellation.html
http://www.defectivestudios.com/devblog/quad-patch-tessellation-in-unity/

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)?
Sign In or Register to comment.