Author Topic: Object Maker Help -- "Cannot find material!"  (Read 819 times)

Offline TheGreatMe

  • Curious Wanderer
  • *
  • Posts: 18
  • Floof-O-Meter: 3
    • View Profile
Object Maker Help -- "Cannot find material!"
« on: January 09, 2017, 03:13:49 am »
((Heyo, so (long time no see FH), I have a model of a statue I made in blender a while back and exported the color layer for the object as a PNG to go onto the model in FH. I have no problems with adding and exporting the object. Unfortunately, try as I might, when I try to add the Material to it, it gives me the message "Cannot find material (title)!" and leaves me with just BaseWhite instead.))

((This is what the model is supposed to look like with the Material.))



((This is the message its giving me when I try to add it, and what the material PNG looks like, if that helps.))





((Anyone have a solution to this?))
Deviantart
~*~D.Gray-Man HALLOW~*~
Release Date: July 2016

The hype is very real

Offline Kerriki

  • Band Geek
  • Immortal Legend
  • *****
  • Posts: 5,670
  • Country: us
  • Floof-O-Meter: 371
  • Who needs furniture when you have the floor?
    • Kikiorylandia
    • View Profile
    • DeviantART
Re: Object Maker Help -- "Cannot find material!"
« Reply #1 on: January 09, 2017, 04:28:11 am »
I believe the material file should end in ".material", not ".png" (Wonderful mesh you've made, btw!)
Farewell everyone<3

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: Object Maker Help -- "Cannot find material!"
« Reply #2 on: January 09, 2017, 06:43:13 pm »
The material field uses the name inside the .material file that appears right after the word "material".

It looks like this:
Code: [Select]
material MaterialNameMat #<--- This "MaterialNameMat" is what needs to be typed exactly as seen.
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture Texture.png
}
}
}
}
For the sake of my own health and interests, I've left FH and I won't be looking back.