VertexInterpolator just a utility or better performance?

I was reading about performance optimisation and most authors advise the use of VertexInterpolator that executes material code on the vertex shader instead of the pixel shader.

However, having changed my materials to use VertexInterpolator wherever possible, I am not seeing any performance improvement. The FPS is basically the same.

I even subsequently coded a material function to wrap VertexInterpolator and only use the vertex shader when the pixel is within short-to-medium range of the camera, otherwise use the pixel shader for pixels in the distance. Again, no substantial difference in FPS.

Is this normal and to be expected, or is the VertexInterpolator meant to improve performance ?

1 Like

It can be a performance improvement… Probably won’t always be depending on the size of the mesh and how many vertices it has, and any improvement may not be noticeable if you’re not actually doing anything very complex.

My test material:

UE4_VertexInterpolatorComparison

1 Like