rsanchezsaez / CardboardSDK-iOS

iOS port of Google's CardboardSDK (mobile VR toolkit)
Other
334 stars 104 forks source link

Restores stereoscopic functionality with SceneKit + SpriteKit on iOS … #22

Closed AnBi2199 closed 8 years ago

AnBi2199 commented 8 years ago

Fixes Issue #20: Restores stereoscopic functionality when using Scenekit + Spritekit on iOS9

rsanchezsaez commented 8 years ago

Hey @AnBi2199, thanks for you contribution!

Could you upload elsewhere a minimal example using SceneKit + SpriteKit so I can properly test this issue? Thanks.

AnBi2199 commented 8 years ago

Example Code: http://pastebin.com/uNw7SirA (expires in 1 week) first 5 lines describe what to import in the header file

GuyDavis90 commented 8 years ago

Hi @AnBi2199, I have tried this method (moving the line to the end like you did) and it didn't actually work. The left side of the screen was still cleared when the object that has the SpriteKit scene as a material was being rendered. Please have a look at the comments on the Issue that you raised #20