Various diseases can affect glomerular integrity. For instance, diabetes mellitus can lead to diabetic nephropathy, characterized by thickening of the glomerular basement membrane and mesangial expansion. Similarly, systemic lupus erythematosus (SLE) can cause immune complex deposition in the glomerulus, leading to inflammation and scarring.