When using DRAW_SCENE in a SCNTechnique, the scene background is not used

Originator:contact.simonrodriguez
Number:rdar://21942939 Date Originated:22-Jul-2015
Status:Closed Resolved:
Product:iOS SDK Product Version:8.4
Classification:Other Reproducible:Always
 
Summary:
In SceneKit, when using the scene.background.contents property to display a cubemap (by setting it to an array of strings designating the 6 pictures to use), and when drawing the scene in a SCNTechnique using the DRAW_SCENE mode, the cubemap is not displayed.

Steps to Reproduce:
1. Create an iOS>Game>SceneKit project using the template in Xcode.
2. Add a picture to the project
3. Set the scene.background.contents property to an array of 6 strings (6 times the name of the picture)
4. Check that the cubemap is display correctly by running the app
5. Load a SCNTechnique with one pass, set to DRAW_SCENE and outputing to COLOR, and set it to the view.technique property
6. Run the app

Expected Results:
The scene is drawn entirely, including its cubemap background

Actual Results:
The scene is drawn without its background.

Version:
iOS 8.4 [12H143]

Notes:
See the attached project for a demo.
I'm not sure if this is really a bug: the documentation of SCNTechnique is not clear on this, stating that DRAW_SCENE  "renders the entire scene"

Configuration:
iPhone 5c 16GB

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!