Scenekit - bake lights during runtime?

Is it possible to do any baking during runtime. I am working on a game that has pieces that can be rotated during placement but then are static after placement. During placement, lighting needs to be actively calculated. I would like to bake the lighting to a texture once the piece is placed, replace the texture on the piece, and remove the piece from the lights' category bit masks so it is no longer part of lighting calculations going forward.

1 Like

Hi, since this is a question about an Apple framework, you might want to post it on the Apple Developer Forums.

Also, WWDC is this Monday (June 7th) so you may be able to score a lab appointment if you are a developer program member (not sure if SceneKit will be an available topic for labs, that information won't be available until after the keynote).

1 Like