A collection of HLSL shaders for Windows Terminal. These shaders create beautiful visual effects to enhance your terminal experience.
The featured shader creates a Mandelbrot fractal visualization with smooth coloring and animation. This shader demonstrates how to:
- Convert GLSL shader code to HLSL for Windows Terminal
- Implement HSV to RGB color space conversion
- Create dynamic zooming and movement
- Apply proper color correction with sRGB conversion
This project was written by Claude and Scott. Mark Russinovich was also there. (100% THE IDEA MAN)
The code in this project contains components from the following sources:
- GLSL to HLSL adapters from patriksvensson/machine
- HSV to RGB conversion from blueset/project-lyricova
- sRGB color correction from nmz (@stormoid) via multiple sources:
- Additional shader structure from Hammster/windows-terminal-shaders
This project is licensed under the WTFPL (Do What The F*ck You Want To Public License)
- Save the shader file (.hlsl) to a location on your computer
- Open Windows Terminal settings.json
- Add the shader to your profile:
{
"profiles": {
"defaults": {},
"list": [
{
"name": "Windows PowerShell",
"experimental.pixelShaderPath": "path/to/fractal.hlsl"
}
]
}
}