diff --git a/DefaultContentSource/FNAShaderCompiler/README.md b/DefaultContentSource/FNAShaderCompiler/README.md new file mode 100644 index 000000000..6e75bbe7e --- /dev/null +++ b/DefaultContentSource/FNAShaderCompiler/README.md @@ -0,0 +1,4 @@ +## Nez FNA Shader Compiler +This script builds the Nez shaders with fxc.exe from the DirectX SDK. The ShaderCompilerScript requires that the `shaderCompilerPath` parameter point to a valid Wine bottle that is setup with fxc.exe in the root. The app can be made with any Wine bottle/cask maker such as Wineskin Winery. + +Once Wine is setup the script can be opened and run. The shaders will be compiled to fbx's. Note that the shaders from effects/transitions need to be manually coped to the proper directory after they are compiled. \ No newline at end of file diff --git a/DefaultContentSource/FNAShaderCompiler/ShaderCompilerScript.scpt b/DefaultContentSource/FNAShaderCompiler/ShaderCompilerScript.scpt new file mode 100644 index 000000000..ba29376f1 Binary files /dev/null and b/DefaultContentSource/FNAShaderCompiler/ShaderCompilerScript.scpt differ diff --git a/DefaultContentSource/FNAShaderCompiler/d3dcompiler_47.dll b/DefaultContentSource/FNAShaderCompiler/d3dcompiler_47.dll new file mode 100644 index 000000000..0b31e770c Binary files /dev/null and b/DefaultContentSource/FNAShaderCompiler/d3dcompiler_47.dll differ