Feral Heart
Help & Guidance => Game Help => Topic started by: TheGreatMe 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.))
(https://66.media.tumblr.com/3b3c295a493dd7b39333de0bd3373ff2/tumblr_o7gfs0qTpp1tt2h1eo1_1280.png)
((This is the message its giving me when I try to add it, and what the material PNG looks like, if that helps.))
(https://68.media.tumblr.com/449c96ae55b314f5cdc86dd8d8d71810/tumblr_ojhssbfCIp1ux2bjco1_1280.png)
(https://68.media.tumblr.com/20fb6fee19f3b83e23d8dc36f2cb52a8/tumblr_ojhssbfCIp1ux2bjco2_r1_540.png)
((Anyone have a solution to this?))
-
I believe the material file should end in ".material", not ".png" (Wonderful mesh you've made, btw!)
-
The material field uses the name inside the .material file that appears right after the word "material".
It looks like this:
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
}
}
}
}