Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello, I was playing around with the custom scenenode plugin, and noticed that the Materials tab is empty. How do you specify materials and textures for your own custom scenenodes ? Is this possible, and if so, how does one go about this ? I know that you can set materials in the construction code of the actual scenenode in the plugin itself, but this is rather limiting, would be really cool i could specify this in the IrrEdit tool. |
||||
|
If your scene node returns the material count correctly, then the material should show up. Maybe you didn't override the method correctly, especially take a look at the 'const' at the end of it. |
||||
|
there is bug in sample CSampleSceneNode pugin code irredit 1.5 virtual u32 getMaterialCount(); is must modyfy like this virtual u32 getMaterialCount() const; and u will see the matrial!!! |
|