Reworking the texture system, gradient are broken