How to create my own material node?

Thank you so much! That was exactly what I was looking for. Also by chance would you have any good links to learning about shaders in plugins. Those sound like something cool to learn.