title: How to precompile PBR shaders for SceneKit?
body: <p>I've noticed that if you have an empty scene and then load a 3D model in it with physically based lighting, there is a small bit of jank as the object appears. If I then add a different object in after that, that stuttering does not occur.</p>
  
  <p>Looking at the profiler, it appears that the default PBR shaders are compiling during that first slow frame. Is it possible to precompile these shaders so that it doesn't happen when I go to render the model for the first time?</p>
  
  <p><a href="https://github.com/mrdoob/three.js/issues/9887" rel="noreferrer">Similar issues</a> have been brought up in other frameworks, like Three.js. Seems like a smart thing to prevent.</p>