In UE4 is there a way to toggle the options to enable or disable tessellation within a material instance?
I thought I had seen somewhere a way of passing a custom parameter to do this but I can’t for the life of me find it. All I want is to be able to use the same master material for material instances where some have tessellation enabled and others have it disabled.
Yea I have got this set up for my material and am happy with the result but the question is specifically if there is a way to change/toggle these settings in the Material Instance.
Am I understanding you correctly that if the tessellation multiplier in my Material Instance is set to 0 it will have no performance impact on my model as no tessellation is taking place even though the setting for tessellation may be enabled in the parent material’s settings?
It’s not quite 0 performance impact, but as close as you can get via parameters. If I remember correctly, since the tessellation setting itself is compiled into the material, it’s not able to be fully turned off on the fly, so this was my method of handling it.