Change Material based on Meshes Location
The material node is called World Position:
You will need some clamps and a bit of math to make it look right.
answered Oct 12 '18 at 07:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here