A PMREM equirectangular material grid inspired by the Three.js example.
Credit: extended from React Three Fiber and Three.js open source examples.