Hi,
if in regression models homogeneity is violated, the variance can in principle depend on both: Predictor and outcome variable(s).
In case of a dependency on categorical or continuous predictor variables, there are many ways to model different dependencies, e.g. using GLS models.
In...