Show full description...
- Fixed a bug in which the bloom surfaces could be destroyed and re-created every frame if the game surface did not have even dimensions.
- Fixed a sharpness issue affecting games which use bilinear filtering.
- Fixed a visual bug when using a shadow mask and TATE mode at the same time.
- Improved NTSC performance by moving transcendentals out of hot loops.
- Included a demonstration of easy under-glass GUI using the included crt_gui_begin() and crt_gui_end() functions.
A robust and flexible CRT shader that aims to be scalable and easy to implement.
Out of the box features include:
| Scanlines | Curvature | RGB phosphor emulation | Bezel reflections | Automatic resolution and aspect ratio handling | Interlacing | Integer scaling | Bloom | Halation | Color correction | NTSC composite signal emulation | Support for portrait (TATE) mode | Support for bezel overlays
Learn to use effects that retro game developers used with CRT TVs in mind; exploit interlacing, blending, or phosphor glow for your game's benefit!
Detailed documentation and a working example project are included to quickly get your project up and running!
Showcase art attribution:
Public domain art by Surt at surt | OpenGameArt.org
"Dead Gunner" Art by Surt at Dead Gunner | OpenGameArt.org CC-BY 4.0
"JS Monster Set - Elementals III" by JosephSeraph at JS Monster Set - Elementals III | OpenGameArt.org CC-BY 3.0
This asset is licensed under MIT. The full license declaration is available for download along with the package.