Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Advanced CRT Shader for GameMaker

A highly flexible post processing shader for GameMaker games · By SittingDuck

No scanlines option?

A topic by Joyhop created 49 days ago Views: 120 Replies: 2
Viewing posts 1 to 3

Hi! 

Thank you for this amazing shader! 

We want to use the updated version in our project, but simulate the look of the previous one, where we've set scanlines_strenght to 0. We had all the bloom and distortions, but no scanlines. There isn't the exact same option now and we seemingly cannot replicate that look. Is it possible with the new logic inside the shader?

Thanks!

Developer

Hi Joyhop,

Thank you for your question and support! 

Eliminating the dark gaps between scanlines is still very much doable, It's just a bit of a different process due to the new physically-based scanline logic. Scanlines (that is, the bright electron beam, not the dark gaps) are now represented with Gaussian distributions that smoothly fade out after a certain width. Dark lines are thinner with more noticeable dark gaps, while bright lines are thicker and bloom into the surrounding gaps. The minimum and maximum size of the beam are controlled with the parameters CRT.lines.min_sigma and CRT.lines.max_sigma. To make the dark gaps disappear, all you need to do is set these parameters high enough to cause the beam to be very wide at all times. The included demo project actually has an example of this (press 7 to cycle through beam widths). In code, it just looks like my_crt.configure_lines({min_sigma:0.5, max_sigma: 0.5}); This should replicate the "no scanlines" look you're going for. I hope this helps!

Thanks,

Sitting Duck Games

Thank you so much for spending time to reply! This answer is really helpful. We used this shader to set the tone and atmosphere in our horror game, here's the link if you'd like to check it out: DEORUM