title: Mipmap and aliasing with Custom SCNProgram Texture
body: <p>Setting up mipmapping and aliasing/filtering with normal SCNMaterials is pretty straightforward. In my case, I need to do materials with text and intricate line patterns, and mipmapping is really necessary in these cases.</p>
  
  <p><a href="https://i.stack.imgur.com/L9OkK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L9OkK.png" alt="Mipmap effects"></a></p>
  
  <p>However, I need to do this with an existing custom OpenGL texture that is applied using a SCNMaterial like <a href="https://stackoverflow.com/questions/18641434/using-existing-opengl-texture-with-scenekit">this</a>. SCNPrograms override normal SceneKit rendering and setting the mipmaps like above has zero effect.</p>
  
  <p>How can I go about to achieve the same mipmap effect on a custom OpenGL texture in SceneKit?</p>