What's your method for the stars?
Day / Night Cycle Shader for GameMaker: Studio 1&2
A downloadable asset pack
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
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 ;)
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:
- Day / Night Cycle Shader UPDATE v.1.1.1Feb 23, 2018
Log in with itch.io to leave a comment.
Demo not work. Error text:
FATAL ERROR in Vertex Shader compilation
D3DXCompile failed - result