compileEquirectangularShader method
dynamic
compileEquirectangularShader()
Pre-compiles the equirectangular shader. You can get faster start-up by invoking this method during your texture's network fetch for increased concurrency.
Implementation
compileEquirectangularShader() {
if (_equirectMaterial == null) {
_equirectMaterial = _getEquirectMaterial();
_compileMaterial(_equirectMaterial);
}
}