A CRT shader for the Windows Terminal.
windows-terminal terminal shader hlsl

Files
README.md
// -------------------------- CRT WINDOWS TERMINAL SHADER --------------------------
//
// ╔═╗╦═╗╔╦╗  ╦ ╦╦╔╗╔╔╦╗╔═╗╦ ╦╔═╗  ╔╦╗╔═╗╦═╗╔╦╗╦╔╗╔╔═╗╦   ╔═╗╦ ╦╔═╗╔╦╗╔═╗╦═╗
// ║  ╠╦╝ ║───║║║║║║║ ║║║ ║║║║╚═╗───║ ║╣ ╠╦╝║║║║║║║╠═╣║───╚═╗╠═╣╠═╣ ║║║╣ ╠╦╝
// ╚═╝╩╚═ ╩   ╚╩╝╩╝╚╝═╩╝╚═╝╚╩╝╚═╝   ╩ ╚═╝╩╚═╩ ╩╩╝╚╝╩ ╩╩═╝ ╚═╝╩ ╩╩ ╩═╩╝╚═╝╩╚═
//
// A CRT shader for the Windows Terminal.
//
// Default settings are for a readable but still stylized look.
//
// Trying to balance looks and performance.
// The film grain and flicker effects are very expensive,
// they require constant redraw of the terminal.
//
// A lot of this is probably not the best, as it is my first time writing HLSL.
// Also, I am not that great at math, and this was done under 4 hours.
//
// Originally based on "CRT Shader Effect for Windows Terminal" by Lorgar Horusov.
//
// @author Luna Mira Lage
// @version 1.2
// @see https://github.com/Lorgar-Horusov/Retro-Windows-Terminal
// @see https://github.com/microsoft/terminal/blob/main/samples/PixelShaders
// ---------------------------------------------------------------------------------
screenshot

If you don't know how to add it to your Windows Terminal, see this.