Spatially varying material poperties

Check this thread where we discussed some possibilities: