wiki.sine.space | sinespace

Day/night cycles

From wiki.sine.space
Revision as of 17:41, 7 November 2016 by JamesStallings (Talk | contribs) (Created page with "Category:Tutorials '''Level:''' * Beginner Unity/Space '''Goals:''' * Implement Day/Night cycle on a region ---- This wiki entry describes how to set up day and night...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Level:

  • Beginner Unity/Space

Goals:

  • Implement Day/Night cycle on a region

This wiki entry describes how to set up day and night on your space region using the Day Night Cycle Script component.

First you will need a directional light to which to attach the script component. Create one, and add the component:


Adddaynightscript.png
Fig. 1: Adding the Day Night Script component to the directional light


A huge thanks and a shout out to Adam Frisby and the Sinewave team for implementing this feature, and to Adam Frisby for walking me through this such that I could get it done right (and make a wiki entry about it ;)