Hammster / windows-terminal-shaders
- воскресенье, 28 марта 2021 г. в 00:26:55
(Hopefully) a small collection of terminal shaders
Shaders for the new Windows Terminal
experimental.pixelShaderPath
in your terminal setting to the desired shaderPlease add the lines you need to your own config, this example config only show the values that you need to add.
{
"profiles": {
"defaults": {
// Add your desired shader
"experimental.pixelShaderPath": "C:\\gitrepos\\windows-terminal-shaders\\crt.hlsl"
},
},
"keybindings": [
// It's recommended to add those two toggles for ease of use
{
"command": "toggleFocusMode",
"keys": "shift+f11"
},
{
"command": "toggleShaderEffects",
"keys": "shift+f10"
}
]
}
![]() |
![]() |
![]() |
---|---|---|
Default | Green Monochrome | Ember Monochrome |
#define GRAIN_INTENSITY 0.02
#define TINT_COLOR float4(1, 0.7f, 0, 0)
#define ENABLE_SCANLINES 1
#define ENABLE_REFRESHLINE 1
#define ENABLE_NOISE 1
#define ENABLE_CURVE 1
#define ENABLE_TINT 0
#define DEBUG 0