Author : AneeshaRode


Reply
Reply
 
Thread Tools Display Modes
AugustsOnlySon's Avatar
Old (#1)
every time I drag a mesh to the map it always has the red "replace me" so I assign a material with the material browser, and everything looks fine and dandy. But, if i bring in that same mesh again from the brush tab it still has the "replace me" texture to it. So how do i "permanently" assign a material to a mesh, so i don't have to keep replacing that red "replace me" mat

Thanks
Offline , null, 15 Posts, Join Date May 2012,  
   Reply With Quote

jburton's Avatar
Old (#2)
Hey there,


As far as i'm aware, this is probably happening because you exported your model, then moved the textures from another directory to your main game build.

Always export your materials to the game build first and foremost, then apply them in max or maya,(from the game build directory) write the .mtl file then export the asset, this generally assures your material links are solid and should solve your issue.

Sometimes regardless of this, your normal maps may not be applied still, not a big worry however, just apply them in the material editor and they will stay applied providing you follow the simple rule above.

regards,

jb
Offline , null, 2 Posts, Join Date May 2012, Location UK, Wales  
   Reply With Quote

AugustsOnlySon's Avatar
Old (#3)
Thank you very much jb! I will try that!
Offline , null, 15 Posts, Join Date May 2012,  
   Reply With Quote

[HP]'s Avatar
Old (#4)
Follow this tut and you'll see how to do it propely.
http://eat3d.com/free/cryengine_3dsmax

Thing is, inside the .CGF file, there's a path for the default .MTL assigned to that .CGF, if no default .MTL is assigned, or if it's missing, then you'll see a replace-me texture in the object, and you need to assign a material manually.

So make sure your object has the right material assigned in max/maya, export the material first, and then the cfg.

You can also import a material from the editor to Max, I explain that in that tut if i'm not mistaken.
Offline , card carrying polycounter, 2,025 Posts, Join Date Aug 2007, Location q3dm6  
   Reply With Quote

vreza's Avatar
Old (#5)
the problem is in ur cgf. make sure the objects are assigned to the right material while exporting.

exporting materials from max/maya might be a pain in the ass and no point to adjust all the parameters outside the editor. so I personally prefer just to copy a empty template mtl file, rename it, and edit it in the editor from scratch (assign texture maps and what not). so in Max I usually just assign it to an 'empty' material with a crytek shader and with THE CORRECT NAME, that's all. it'll load fine in the editor.
Offline , line, 77 Posts, Join Date Apr 2010, Location Jakarta, Indonesia  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 1998-2014 Polycount