the .yymps file format is invalid for me. is that where the "render" object is? is there something i'm missing? can't figure out how to get this into my game.
H O R R I - F I
Horri-Fi is a simple and easy-to-use Shader for Game Maker Studio 2! Setup is as simple as calling:
and then applying it to your surface:
horrifi_set(); draw_surface(application_surface, 0, 0); horrifi_reset();
This shader includes:
- Chromatic Abberation
- VHS Distortion
- CRT TV Curve
You can dynamically set any of the shader values using the
functions such as:
horrifi_bloom_set() horrifi_chromaticab_set() horrifi_scanlines_set() horrifi_vhs_set() horrifi_vignette_set() horrifi_crt_set() horrifi_noise_set()
The demo above is also included as an EXE file that you can run, adjust settings, and press the "Copy GML code to clipboard" button and paste in your game!!
Click download now to get access to the following files:
- [UPDATE] - Efficiency & Stability14 days ago
Log in with itch.io to leave a comment.
Gizmo delivering something awesome once again. How can you not love him?
this works beautifully for class project. i do need to know what license or permissions it has.
The best plug and play asset I have ever used for gamemaker. It just works and very simple. The effects are all amazing and stuff I've always wanted to include in projects but couldn't figure out. Thanks for your fine work!
yay! Glad it was of use! :D
Quick question, I've noticed that the image doubles in size when applying this shader, resizing the application surface down to half the resolution I normally have it at works, but the image quality degrades a bit. Any idea why this might be happening?
EDIT: Nevermind, I realised that the automatic drawing of the application surface was disabled in the create event, so halfing the scale there worked perfectly. Thanks again!
Glad you figured it out! :) yeah resolution stuff wont be effect by this system. You could apply this shader to a single sprite and it would work (though you'd wanna go into global.__horriFi > render() function and get the correct texture/texel size).
I loved it, very simple to implement! 10/10
Wow! This looks great. Can the effect be used on individual objects rather than the whole surface?
Absolutely! Though you might have to go into the gml code and tweak some stuff for the bloom effect. It takes in the texel size of the application surface, but if you go into global.__horriFi.render() you will see where I am setting that and you can change it if you wish! :)
This looks great!! Would it be okay to add this to a paid product, and if so how would you like to be credited?
absolutely! There is an included license for free use to distribute/alter the code as you please. :) no credit required but it is much appreciated!! :)
Looks great! I'll definitely keep this one in mind when I do another horror game! Thanks, Gizmo199
another classic to add to the gms collection