Shaders, Beautiful Color Blending, Sun & Moon


What's New?

Shaders!

  • In this update, I learned (and am still learning!) how to write shaders from the ground up in GLSL.
  • There are two major shaders that I applied (and that I am proud of!):

Sky Colors

  • The sky's colors are now blended by shaders, allowing me to create more beautiful color blends. This also allows me to have more control over the blending for anything else I may add in the future.


Peeking Through Leaves

  • I have added a shader that allows the player to peek through the leaves on a tree anywhere they hover their mouse. This allows the player to see birds that have flown onto trees (a new minor feature!), and also if they want to see how the tree has grown procedurally.

Sun & Moon

  • The Sun & Moon now travel through the skies according to the time of the day. Both cycle evenly, so there is plenty of night and day to go around. I also modified the timing for transitioning from night to morning, midday, evening, and back to night again.

Other Changes

  • Birds now largely will fly to tree branches, though some still go to the ground for food.
  • Lots of backend tightening up, such as refining the time system and placing pertinent pieces of code in well-designed locations.

And that's about it! Super proud of the things that I've gotten to learn, and I'm excited to start using more powerful things like shaders for future additions. Thanks for reading, and have a great day!

- Misnomer2

Files

Dynamic Sky v0.2.2.zip Play in browser
Mar 26, 2023

Leave a comment

Log in with itch.io to leave a comment.