[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:

dayandnight

Linked to the shader:

e12329104f0f4d96233e9ba478788483

7bfa60b61fe8d83a8b4e2c786a5fe4f2

Cheers!

Vermeulen Igor

Advertisements

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