Frictional Games Forum (read-only)
[MDL ED] Multiple Materials - Single Object - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [MDL ED] Multiple Materials - Single Object (/thread-19401.html)



Multiple Materials - Single Object - Alex Ros - 12-01-2012

DELETE ME


RE: Multiple Materials - Single Object - WALP - 12-01-2012

Its very simple to create a static object with multiple materials, all you need 2 meshes with 2 different textures when you export. then when you open the dae. in the modelviewer it should then create a mat. file for each texture that your dae. contains. It would be weird if it got buggy since FG did it themselfes with the zimmerman ground which was a static that used 3 different mat.s.

As for the reason most objects in amnesia only use 1 material I guess its because that most objects in amnesia only use one texture to save memory, some objects like the wallsets even share one big texture.
fx the mansionbase


RE: Multiple Materials - Single Object - Alex Ros - 12-01-2012

DELETE ME


RE: Multiple Materials - Single Object - WALP - 12-01-2012

Ah so what you want to do is to have multiple objects use the same tileable textures?.
its nice when it comes to performance, but please also remember that it can limit you when it comes to adding detail to the individual object, no ambient occlusion fx.


RE: Multiple Materials - Single Object - xxxxxxxxxxxxxxxx - 12-01-2012

That and also using several small tileable textures on the same object...Which is generally good for performance if you have a lot of objects using the same textures, but it doesn't work for an infinite number of textures per object if you know what I mean.
At some point the drawcalls required to look up several textures for one object can be worse for performance than having a few more textures lying around in memory. Maybe hpl is especially sensitive when it comes to that and that's why they used unique textures? Another reason might be that they wanted unique, baked normal maps for the objects and HPL doesn't support different uv channels for different maps.


RE: Multiple Materials - Single Object - Alex Ros - 12-03-2012

DELETE ME


RE: Multiple Materials - Single Object - Alex Ros - 12-04-2012

DELETE ME


RE: Multiple Materials - Single Object - Alex Ros - 12-07-2012

This can be turned into a small tutorial for beginners...

Single Object / Multiple Materials
If you need a Static Object or a fully interactive Entity with multiple submeshes with multiple textures, the only thing you have to do is to Group all of your submeshes in Maya before exporting into .dae format. When you will open newly exported .dae at the Model Editor there will 2 (or more) submeshes, which could be put under 1 solid Body, so finally you will get a 1 solid interactive entity, working perfectly ingame.