Shader Programming

Write HLSL and GLSL shaders for custom rendering effects.

4|1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/doanchienthangdev/omgkit --skill shader-programming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Shader Programming
Source: https://github.com/doanchienthangdev/omgkit/tree/main/plugin/skills/game/shader-programming
Command: npx skills add https://github.com/doanchienthangdev/omgkit --skill shader-programming

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation of custom visual effects, unique rendering styles, and GPU-accelerated computations by leveraging the power of shader programming languages like HLSL and GLSL.

Core Features & Use Cases

  • Shader Development: Write and understand vertex, fragment, geometry, and compute shaders.
  • Visual Effects: Implement effects like dissolve, outlines, and post-processing.
  • Use Case: Apply a custom dissolve effect to a 3D model in a game engine to create a magical disintegration animation.

Quick Start

Use the shader programming skill to generate a simple unlit HLSL shader for Unity.

Frequently Asked Questions about Shader Programming

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

FAQPage Schema
How do I write a custom dissolve visual effect for a 3D model using HLSL?

You can craft a custom dissolve visual effect by writing a fragment shader in HLSL that gradually discards pixels based on a noise texture threshold. This technique creates a magical disintegration animation for 3D models in game engines like Unity.

What is the difference between vertex, fragment, and compute shaders for GPU programming?

Vertex shaders manipulate 3D geometry positions, fragment shaders determine pixel colors for visual styles, and compute shaders execute GPU programming logic for custom computations. This Skill provides guidance and code examples for all three types.

Can I use this to generate an unlit shader for Unity?

Yes, you can generate a simple unlit HLSL shader for Unity using this Skill. It provides guidance and code examples for Unity Shader Graph and post-processing techniques to help you create custom rendering effects.

Does this support both HLSL and GLSL for custom rendering effects?

Yes, this Skill supports both HLSL and GLSL for GPU shader programming. It provides guidance and code examples in both languages to help you implement vertex, fragment, geometry, and compute shaders for custom rendering effects and visual styles.

How do I add post-processing techniques like outlines to my game?

You add post-processing techniques like outlines by writing custom fragment shaders that analyze screen-space depth and normal data. This Skill provides code examples for implementing outline effects and other custom visual styles.