Directional light

How to create a spinning earth in space

This is an updated tutorial about creating a planet earth in space.

Part 1: using GUI

Andy's picture

Sundial simulation


Some weeks ago, I have implemented the lighting components in VRMath2 Editor. There are three different lights: point light, directional light, and spotlight. In this blog, I am using the directional light to simulate the sunlight for casting a shadow on a sundial.