Foundations for future shaders