Shadowdusk

ShadowDusk

vchelaru 5912141 725 B Updated

File contents

ShadowDusk

Compiles .fx HLSL into .mgfx (MonoGame/KNI) or .fxb (FNA) on any OS — no DirectX SDK, no Wine. Docs: https://kaltinril.github.io/ShadowDusk/

Two forms: ShadowDusk.Compiler (NuGet, in-memory EffectCompiler.CompileAsync(hlslSource, options) — use this for build-time embedding of engine-shipped shaders) and ShadowDuskCLI (drop-in mgfxc replacement for existing content-pipeline builds).

Gotcha: Metal (macOS/iOS) isn't implemented yet — Metal targets still need the traditional Windows/Wine path (see shaders skill). Output is behaviorally equivalent to mgfxc, not byte-identical — don't diff bytecode across compilers in a test.

vchelaru/flatredball2/tree/main/frb-skills/shadowdusk commit 59121418f3

Frequently asked questions

npx skillmds@latest add vchelaru/shadowdusk