prepare out, inn, ABC
partial implementation of the shaders