added some functions to colorize quads for upcoming shader