I have a single model that has multiple materials. A simple cube where the top quad is material 1, two of the sides are material 2, and so on.
The material names are "models/testcube/skins/mat1.png" etc.
I export it as a md3 and put it into my pk3, under models/testcube. The texture files are located in models/testcube/skins.
The MODELDEF doesn't have the SKIN property.
Code: Select all
Model TestCube // Name of actor in DECORATE
{
Path "models/testcube" // Path to model in PK3
Model 0 "testcube.md3" // Model index, model file
FrameIndex BON1 A 0 0 // The sprite lump, sprite frame, model index, frame number
}
Yet, when I look at the model in GZDoom, the renderer goes apeshit, zomming rapidly in and out, rendering far away parts of the level, and whatnot.
Maybe anyone had any luck with getting multi-material models to work?