Enabling and disabling Nanite on individual static meshes on runtime to allow for highlight/outline

I’ve got a simple outline post process material that works using render custom depth, and it doesn’t seem to work with nanite meshes, so I was wondering if it’s possible to disable nanite on certain static meshes to allow for highlighting with custom depth, or if anyone else knows a way you can outline nanite static meshes that’d be great.

1 Like

At runtime? No (Read as: I doubt it). Nanite meshes are stored in a different format.
You could make outlines by using decals, or by spawning an additional mesh.

1 Like