How to Improve Tessellation Quality?
Events
Subscribe:  iCal  |  Google Calendar
Busan KR   15, Nov — 19, Nov
Minsk BY   16, Nov — 19, Nov
Utrecht NL   24, Nov — 26, Nov
Philadelphia US   30, Nov — 3, Dec
London GB   30, Nov — 1, Dec
Latest comments

Thanks, Allar! Good luck with your new project!

Who just carries around $250.000 worth of files on a portable hardrive without any backups.. The bug is stupid, but this guy is a moron.

by Michael Allar
14 hours ago

Michael Allar here. Thanks a bunch for posting this, I really appreciate it. I'm also the guy who wrote that Confessions article that was posted here on 80.lvl as well.

How to Improve Tessellation Quality?
19 June, 2017
News

Ruslan Nazirov, a 24-year-old developer with solid experience in programming, shared a nice tip for UE4 users, who are trying to deal with tesselation problems. 

This tip might be useful for those people, who tries to achieve the best possible quality of their in-engine static renders. Big values of tesselation multiplier are not suitable for real-time games at this moment and I recommend to use parallax occlusion mapping instead.

Default tessellation multiplier in UE4 locked to the value of 15, which mean that by default tessellation quality is limited. You can change this behavior by modifying shader code.

Just do the following.

Open: Epic Games\UE_4.X\Engine\Shaders\PNTriangles.usf

Find and change [maxtessfactor(15)] to [maxtessfactor(50)]

and CompositeTessellationFactors = clamp( CompositeTessellationFactors, 1, 15 ); to CompositeTessellationFactors = clamp( CompositeTessellationFactors, 1, 50 );

Optionally do the same for Epic Games\UE_4.X\Engine\Shaders\FlatTessellation.usf if you’re using flat tesselation instead of PN Triangles.

Keep in mind, that it will require recompiling all shaders after the first launch, so be patient. Also, you need to do this trick each time when you’re updating your engine to the new version.

And here’s the comparison:

Without tessellation:

Tessellation multiplier = 15

Tessellation multiplier = 50

Ruslan Nazirov, 3D Artist

Comments

Leave a Reply

1 Comment on "How to Improve Tessellation Quality?"

avatar
callumblackall@gmail.com
Member
callumblackall@gmail.com

Whilst the quality of the result will begin having diminishing returns how so does the performance diminish over the scale?

wpDiscuz