SceneKitOffscreenRendering
SceneKitOffscreenRendering copied to clipboard
Shading in offscreen render
Is it also possible to render a scene offscreen with the same shading?
Add this before the renderer.render call:
renderer.autoenablesDefaultLighting = true