mellinoe / ShaderGen

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

About findFXC #105

Open ghost opened 3 years ago

ghost commented 3 years ago

I find that if we change the default windows kits installation path,the function can't work correctly. I think we can search from system environment variables. Or we can let the user manually set a fxcpath string. https://github.com/mellinoe/ShaderGen/blob/badb81926ad6d3eba5e55dfb6cac54c6bf344046/src/ShaderGen.App/Program.cs#L585-L599