Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No CRT Effect When Used with SDL2?
#4
Of course, you can adapt it to your own needs. The source files that cointain everything related to the CRT effect are Window.c and GaussianBlur.c.
It renders the framebuffer to a SDL_Texture and the uses it to produce the desired effect.

Keep in mind that my implementation is somewhat cheap and doesn't take advantage of modern GPU capabilities. There are much better CRT shaders out there -albeit more GPU demanding too- such as CRT Lottes.
Reply


Messages In This Thread
RE: No CRT Effect When Used with SDL2? - by megamarc - 10-28-2019, 06:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)