Didn't realise you could use structs in MonoGame shaders. Now to wait for MojoShader to be improved