made it so all materials can use a texture for colour source. this should be extendable if we want to do e.g. coded patterns in future