Notifications
Clear all

[Closed] Texmap – no node in slate

I just started working on a custom texmap as part of a larger project.

So far I have created a subclass of Texmap and implemented everything that looked to be necessary based on the SDK documentation (Header here to show the specific functions I implemented: http://pastebin.com/3s4gF2cS ). When this is loaded into max, I can create and use this texmap as expected when using the classic material editor.

The problem I am seeing is that when using the slate material editor, dragging and dropping my texmap type from the sidebar onto the canvas does not create a node. The texmap still does work as expected and can be attached to any material, but a node just won’t appear in the slate editor, even when it is added to a material that is in the editor.

Anyone have any ideas about what may be the cause of this?

1 Reply

Disregard this, I found my problem and was able to sort it out.

For anyone interested, this was caused by me returning an incorrect class_id from the texmap classdesc. This made the class_id returned by the texmap objects differ from the one in the classdesc. Straightening this out has made my materials appear as they should.