Stuff necessary to make the STMap shader work