Beginnings of a proper shader handling