Reputation: 31
When I set a SCNTechnique to my SCNView, my SCNSceneRendererDelegate stops to work. Are there any workarounds? I want to execute some code before and after scene rendering. I've tried to reset the delegate, but it doesn't help.
Upvotes: 2
Views: 316
Reputation: 71
To make this work I added:
"inputs" : {"color" : "COLOR" }
to the technique definition.
Upvotes: 0
Reputation: 11
You must use the scenekit COLOR output in a technique pass for the delegates to work
Upvotes: 1