https://github.com/toyboot4e/fxc
Compile DirectX9 (fx_2_0) shader files on macOS
https://github.com/toyboot4e/fxc
Last synced: over 1 year ago
JSON representation
Compile DirectX9 (fx_2_0) shader files on macOS
- Host: GitHub
- URL: https://github.com/toyboot4e/fxc
- Owner: toyboot4e
- Created: 2020-10-03T15:00:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T04:23:56.000Z (over 5 years ago)
- Last Synced: 2025-03-15T23:28:32.983Z (over 1 year ago)
- Language: HLSL
- Homepage:
- Size: 1.54 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Compile fx_2_0 on macOS
== Installation
Run the following script:
[source,sh]
----
$ brew install wine winetricks
$ WINE=/usr/local/bin/wine64 sh winetricks d3dcompiler_43
----
Then we can `./run` the script to compile `.fx` files in `src` directory :)
== Note
* The `.fx` files came from https://github.com/prime31/Nez/tree/master/DefaultContentSource/effects[effects] in https://github.com/prime31/Nez[Nez]
* The `run` script is based on https://github.com/prime31/FNA-VSCode-Template/blob/master/.vscode/buildEffects.sh[buildEffects.sh] in https://github.com/prime31/FNA-VSCode-Template[prime31/FNA-VSCode-Template]
* The shader compiler came from https://github.com/prime31/Nez/tree/master/DefaultContentSource/FNAShaderCompiler[Nez/DefaultContentSource/FNAShaderCompiler].