How to fake stylized glass highlights

Hi, i was wondering how to replicate this shader from unity in unreal.
Thanks!

You will probably want to play around with the values a bit, but the code is basically the same.

So i finally got around to trying this again after not knowing why it didn’t work the way i wanted, it only worked at one angle. i just had to change the transform vector settings, which back when i asked this i didn’t know as much so i gave up.

just had to change the transform vector to “world space to View space” and it worked perfectly!