[Dev] Day and Night

Hello everyone!

This week i worked on a custom day and night cycle. Since one of our mechanics rest on the difference between day and night I made the cycle easy adjustable. You can set how long it stays day and how long it stays night (in seconds). Also how long it sunrise and sunset takes (important for us). Secondly we linked this cycle to our shader, which changes the environment in the switch between day and night.

What it looks like in the editor:


Linked to the shader:




Vermeulen Igor


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s