Rotating world

Share on Twitter Share on Facebook Share on LinkedIn

Rotating world

Description

In this example we are adding a sphere with an image of the world as a material.

We then set it to continually rotate 360 degrees over a period of 10 seconds using SCNAction.

And last but not least, we are setting its Opacity to be 99%, to give it just a hint of transparency.


Video


Code


Next Step : Environmental texturing

After you have mastered this you should try Environmental texturing