My company has a custom .fx 3d Max material and I'm trying to hack together a script to automatically assign texture to it. I have it working however the box with the texture name is "disabled" and I'm trying to figure out how to enable it. I don't really even know what to search for. This is the code from the material…
its g_DiffuseTex as thats whats the texture sampler called in the shader. Pretty sure as I wrote something back at my old job where it accessed engine materials and was setting it up in max. It might be disabled because of this? (enabled is set to false):
mapbutton b_diffuse "None" enabled:false This WYSWIG editor is funky…