When you want to release something to the public, you must make sure to include all needed files. Including .fx files is absolutely no different then including models or any other resources.
I know :-)
What is nagging me is that I have to publish the code\ folder of the Gamestudio installation for loading the default.fx properly:
#define PRAGMA_PATH "%EXE_DIR%\\code";
Which is only valid for dev-mode ... what if the user - or I for demo reasons - want to publish it? Then he/I have to add the default.fx into that folder (beside the compiled .exe, acknex.dll and so on).
That is an unconvinient situation, I also think that the publish dialog doesn't copy the default.fx...
So the only way to publish sourcecode to the public using the default.fx file is to do the #define as stated above for dev-mode and when publishing binaries loading the .fxo files instead. Isn't it?
I hope you understand this issue...
Best regards,
-Christian
BTW: can't you just place some #defines like #define A8 and/or version defines like #define A8_1_0 or so into acknex.h to enable engine(-version) dependent compiler directives?