Material turns black after lags

This is what happens if I change the quality.