Diffusion models with microstructure