did some shader preprocessing