A downloadable asset pack

Buy Now$2.99 USD or more

Forum: Topic

Day and Night Cycle Shader can get really impressive effect on the atmosphere of the game.

It can be used without application surface or any other surfaces. It can give really significant performance boost on mobile devices. But you always can use it on surface too.

Like in famous YoYo Games video it uses color remapping for working and doesn't change the alpha channel, so it can be used even without surfaces with special system. You should specify from what depth to start to use shader and on what to finish - on the GUI layer for example, or use shader only on sky, or draw rays of light over the shader layer for cool effect.

All graphics are from kenney.nl packs

Demo: Download

With this shader you can:

  • Create alternation of day and night in your game.
  • Change the speed of cycle or attach its position in time to the variable.
  • Change colour propertices of each period of time.
  • Apply effect on fulscreen without surfaces.
  • Apply effect on any sprite, background or surface.
  • Do all of it fast and beautiful.
  • Get perfect work on all platforms - Windows, Mac, Linux, Android, iOS, HTML5 and other.
  • Get technical support if purchase.

You need intermediate knowledge of GML to use.

Please write a review if you like the asset and tell me your suggestions for improvement. If you found an error in my code or my English, please contact me ;)

My other assets! Physics rope, liquid simulation, textured terrain, custom savegame, shaders and more.


Buy Now$2.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $2.99 USD. You will get access to the following files:

daynight.gmz 87 kB

Leave a comment

Log in with your itch.io account to leave a comment.