Day / Night Cycle Shader for GameMaker: Studio 1&2
A downloadable asset pack
Links: Forum - Marketplace
Day and Night Cycle Shader can get really impressive effect on the atmosphere of the game.
It can be used even without application surface with a special system described. It can give really significant performance boost on mobile devices. But you always can use it on any sprite, background, object, layer or surface anyway.
Like in famous YoYo Games video it uses color remapping for working and doesn't change the alpha channel. You can specify on what regions is to use shader - without 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 ;)
Status | Released |
Category | Assets |
Author | KeeVee Games |
Made with | GameMaker |
Tags | alternation, cycles, day, daynight, dynamic, GameMaker, night, Shaders, sky |
Asset license | Creative Commons Attribution v4.0 International |
Links | Twitter/X, Other Assets, Marketplace, Community, Homepage, Support |
Purchase
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:
Development log
- Day / Night Cycle Shader UPDATE v.1.1.1Feb 23, 2018
Comments
Log in with itch.io to leave a comment.
What's your method for the stars?
Demo not work. Error text:
FATAL ERROR in Vertex Shader compilation
ShaderName: sh_night
D3DXCompile failed - result
at gml_Object_o_shader_start_Draw_0
That's the problem on your side, maybe something with your video card. Are sure that it is compatible with the shaders?
Of course I sure. Games and other projects contained shaders still work.