Skip to main content

shadowdusk

Cross-platform HLSL shader compiler for MonoGame/KNI/FNA — avoids the Windows/Wine requirement. Triggers: ShadowDusk, mgfxc replacement, compiling .fx on macOS/Linux, ShadowDusk.Compiler, ShadowDuskCLI.

インストールへ移動

ソース情報

リポジトリ
vchelaru/FlatRedBall2
ソースの最終更新活動
2026年7月26日 15:25
検出された SKILL.md の言語
英語
スター
14
フォーク
8

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
shadowdusk
description
Cross-platform HLSL shader compiler for MonoGame/KNI/FNA — avoids the Windows/Wine requirement. Triggers: ShadowDusk, mgfxc replacement, compiling .fx on macOS/Linux, ShadowDusk.Compiler, ShadowDuskCLI.
# 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.
GitHubで見る