mellinoe / ShaderGen

Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
MIT License
497 stars 56 forks source link

Use D3DCompiler.dll (through SharpDX most likely) instead of fxc.exe #89

Closed Jiuyong closed 5 years ago

Jiuyong commented 5 years ago

fix #87 . In some system ,it has DirectX ,but don't have fxc.exe .

mellinoe commented 5 years ago

Thanks for the improvement, @Jiuyong ! I've merged the changes and added a bit of minor code cleanup on top of it. I will push new NuGet packages soon.