8
« on: December 15, 2009, 06:00:30 pm »
I think part of the problem is that M&B 1.01x includes an FXO file in addition to the FX file. FXO is a precompiled version of the FX file, so I have to wonder if, for whatever reason, the M&B engine isn't bothering to look at the FX file, or if the FXO file is just definitions (like a header file), then any definition that isn't in the FXO file won't be looked at in the FX file.
EDIT: So I found out you CAN compile FX files into FXO using fxc.exe from the DirectX SDK. Did so, compared the original with mine, and the new shader (specular_alpha_cutouts) does show up in the file. Swapped old with new, started Onin no Ran in DX9 mode. For future reference, the bump mapped ground texture is cool. Anyway, I did not get any RGL errors, but I did see some weirdness. The default katana given to a male bushi automagically transforms into a bokken, complete with a totally useless saya with the same texture, when at the right camera angle, between 270-0 degrees, 45 degrees up. Peculiar.