Sword Slicing effect

Hi All,

I remember vaguely seeing something on the Unity reddit, where somebody had created a system for slicing meshes, but what I remember from it was the shading of this mechanic and am wondering how to implement it for a similar feature. If anyone knows has that reddit post saved could you send it to me, as I haven’t been able to find it since

Essentially when the player attacks with the sword before they swing I want a plane to appear (different from the image in that I want the plane to extend fully to the cameras view just the best screenshot I could find)
I want a 3d glowing effect on the interesting geometry that the “plane” makes with the object, not a shader on the plane for reasons explained below

I have mocked up what it should look like and just need some guidance on how to best approach it.
I have tried using an intersect shader on a plane that rotates around the cameras Z axis (to mimic where the blade is facing before slicing the mesh), but this raised issues such as clipping with the camera making the effect invisible at certain positions, and cannot create the 3D glow I want on intersections

I’m thinking of possibly using a LineRenderer but wondered if there’s a better solution that I am missing

Cheers

What you’re looking for is probably the video that Mix and Jam did for a Metal Gear Rising mechanic.

It was!
Thank you so much I could not find it for the life of me!
Interestingly it appears they have used a shader on the plane itself, which works for them as it’s third-person rather than first-person. I will have to do some more thinking on it