>>2906704Thank you for taking the time to reduce it to primitives. When I loaded it initially, assigning only ikFur to the first material made the front part of the red ball transparent. That was the main issue, right? Then I tried it with a simple shader that output a color, and got the same result. That was weird. So then I loaded SampleBase.fxm, and that one worked fine. I kept removing parts of the code looking for the issue and I think I found it. The result in the picture is what you're expecting, right? Ignore the lack of shading on the fur, I used my old poorly adapted version of ikFur.
What I think is happening is that MMM doesn't use the "object_ss" mmd pass. It only uses the "object" mmd pass. But it still needs to know if the pass is for the self shadow mode or not, so instead it uses the boolean "UseSelfShadow" value in the <> brackets after the technique name. So, in "_fur_body.fxsub", add:
bool UseSelfShadow = selfshadow;
...after
string Subset = "0";
and
string Subset = "1-";
(ctrl+f these, the spacing is the same because I copypasted)
And then change:
OBJECT_TEC0(MainTecSS0, "object_ss", use_texture, use_spheremap, use_toon, true)
and
OBJECT_TEC(MainTecSS1, "object_ss", use_texture, use_spheremap, use_toon, true)
to:
OBJECT_TEC0(MainTecSS0, "object", use_texture, use_spheremap, use_toon, true)
and
OBJECT_TEC(MainTecSS1, "object", use_texture, use_spheremap, use_toon, true)
And try it then. Maybe it'll work.