shader-convert

Convert GLSL shaders to HLSL for Alt-Tabby's D3D11 pipeline.

1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/cwilliams5/Alt-Tabby --skill shader-convert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shader-convert
Source: https://github.com/cwilliams5/Alt-Tabby/tree/main/.claude/skills/shader-convert
Command: npx skills add https://github.com/cwilliams5/Alt-Tabby --skill shader-convert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the conversion of GLSL shaders, commonly found on Shadertoy, into the HLSL format required by Alt-Tabby's D3D11 graphics pipeline, enabling custom visual effects.

Core Features & Use Cases

  • Automated Conversion: Converts GLSL shader code to HLSL, handling syntax differences and Shadertoy-specific uniforms.
  • Multiple Input Methods: Supports scanning local directories, fetching shaders from Shadertoy URLs, or converting pasted code.
  • Texture Handling: Downloads and manages iChannel textures required by shaders.
  • Use Case: You found a cool visual effect on Shadertoy and want to use it as a background in Alt-Tabby. This Skill will convert the shader code and its associated textures, making it ready for integration.

Quick Start

Use the shader-convert skill to convert all GLSL shaders found in the src/shaders directory that do not have a corresponding HLSL file.

Frequently Asked Questions about shader-convert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert GLSL shaders to HLSL for Alt-Tabby?

You can convert GLSL shaders to HLSL by pasting code directly, scanning local directories, or fetching from a Shadertoy URL. The conversion handles syntax differences, uniform mapping, and texture downloads for Alt-Tabby's D3D11 pipeline.

Can I fetch and convert shaders directly from a Shadertoy URL?

Yes, you can fetch and convert shaders directly from a Shadertoy URL. This process requires Playwright to fetch the shader code and automatically manages the download of required iChannel textures during conversion.

Does converting Shadertoy shaders to HLSL handle iChannel textures?

Yes, converting Shadertoy shaders to HLSL handles iChannel textures by automatically downloading and managing them. This ensures the visual effects have all required image assets ready for integration into the target pipeline.

What is the best way to batch convert GLSL shaders in a local directory?

The best way to batch convert local GLSL shaders is by scanning your source directory. The tool identifies GLSL shaders lacking corresponding HLSL files and automates the conversion for Alt-Tabby's D3D11 graphics pipeline.

Do I need Playwright to convert Shadertoy URLs to HLSL?

Yes, you need Playwright when converting shaders by fetching from Shadertoy URLs. It is required for the URL fetching process to retrieve the GLSL code and associated textures for HLSL conversion.

Are there specific conversion rules for background and mouse effects in HLSL?

Yes, specific conversion logic applies to different shader categories like background, mouse, and selection effects. This ensures the converted HLSL code correctly maps uniforms and functions for Alt-Tabby's D3D11 pipeline.