Trying to mimic a gouraud shader much like Old School Runescape

this guy was on the right track, I’m curious about doing something like this as well