monogame-shaders

Installation
SKILL.md

MonoGame Shader Implementation Guide

This skill guides shader development in MonoGame. For worked HLSL examples, see references/shaders.md.

File Pipeline

MyEffect.fx  →  MGFXC compiler  →  MyEffect.mgfxo  →  Content.Load<Effect>()
  • Write shaders in HLSL in .fx files.
  • Add them to the MGCB with processor Effect - MonoGame → compiled to .mgfxo.
  • Load at runtime: _effect = Content.Load<Effect>("Shaders/MyEffect");

Minimal HLSL Shader Structure

Installs
16
GitHub Stars
2
First Seen
May 20, 2026
monogame-shaders — alca259/monogame-skills