hifi / UltimaMono

Attempt to make ZaneDubya/UltimaXNA portable
4 stars 1 forks source link

Converting IsometricWorld.fx to something MonoGame can use #1

Closed hifi closed 7 years ago

hifi commented 7 years ago

MonoGame can't compile the shader on Linux. It requires a Windows machine to compile it from .fx to .mgfx which then can be loaded by MonoGame.

Can we do something about it so it could be converted into a format that could be built on non-Windows systems?

hifi commented 7 years ago

Here's the required changes for SpriteBatch3D to load the built shader:

https://gist.github.com/hifi/aa1ac0fd12e01c586770145c503573e5

hifi commented 7 years ago

And here's the pre-compiled shader along with the patch file until there's a better way to do it:

IsometricWorld.zip

hifi commented 7 years ago

The MonoGame Content Pipeline can handle the shader just fine but only on Windows for now. Limitation of MonoGame.