implemented defines per OS for shaders