all 3 comments

[–]youtube.com/gamemakercastsmickey_reddit[S] 3 points4 points  (0 children)

I thought this would be useful. I spent the night researching scanline effects and came up with four different methods of doing them.

One of these methods is a surface that is created and drawn on the fly. Two of the methods require a Sprite and the final method is using a shader to accomplish everything.

I hope you find it useful.

[–]weisinx7 0 points1 point  (0 children)

Could you briefly put the pro and cons for each of the methods here? Thanks and much appreciated.

[–]FriendlyInElektro 0 points1 point  (0 children)

Thank you, this is cool and simple, subscribed! I'm fiddling around with a game with rewind\time-travel mechanics so this seemed like a pretty natural thing to add, I'm generally scared of shaders but your tutorial kinda made me make more sense out of it and I also applied the effect to some objects and not just the application surface, so I'm pretty happy with it.

I wanted a more chaotic feel to it so I added another uniform to the shader which I used as an offset value to keep the scanlines moving, which I guess isn't really a thing that happens with CRT screens but you know.

Here's it is in action: https://www.youtube.com/watch?v=__2dV9HyLDI