Jump to content

Recommended Posts

Posted

The materials aren't working on the model I'm importing.

 

Steps I'm following:

  1. Put GLB file of model into \Models folder
  2. Access in engine through double clicking
  3. Select Mesh Collider through top most entity in "Model" tab
  4. Tick 'Optimise Mesh' (true)
  5. Save As - Leadworks Model
  6. Attempt to import mdl file...only for the model to have no materials/textures

I've tried also converting the textures to .dds with the option, which didn't work either.

Should be fairly easy to replicate..

 

Model as .glb

You can see the materials are available with correct name and properties, etc

image.thumb.png.2869ac0b5ed7a8cf74ea34d4ae5ebf1a.png

 

 

.mdl file

Only 2 materials? And no name? Not sure if this may be the problem here?

image.thumb.png.6485f16fd48680037d68b57f59288c4b.png

However, there is a material file that was generated and it's using?

image.thumb.png.50a8410f4ca500756f0ded33d8f3e8ec.png

 

Model:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...