here's a more complicated shader that I ported to seagull. I use this for stretchable dialog boxes. https://gist.github.com/davexunit/5d9c4f707c349e3a5aada5dae1ce674d