0

Tessellation Performance Bad Without Doing any Tessellation?

Virtus H 7 years ago updated 7 years ago 1

I'm in the process of optimizing one of my shaders. Unfortunately, Tessellation seems to always give a performance hit even if I have it "disabled"(feeding 1 to the tessellation input). I have a scene with a massive amount of trees, and I get a noticeable dip if I literally plug in a grey value node set to 1.


Without Tessellation(96.6fps): https://gyazo.com/58fb4d86f9c55a134e2ad8847d45254d

With Tessellation(87.9fps): https://gyazo.com/e7a97ce262c2f87e5bb2118461ee8882


I'm trying to avoid having multiple similar shaders for optimization.

Could you simply disable tessellation features in the shader if 1 is plugged into tessellation? Otherwise there will always be a negative performance hit for no reason. I've currently just taken out tessellation from a lot of my shaders because it gives a decent speedup whether I'm using the feature or not.