Cinema 4D multiple materials on one mesh???

Hello everyone. Just curious if it was possible to get multiple Materials from Cinema to Unity.

I am creating a flight line and I have a base material texture and a material w/ some taxi lines in another material with an alpha applied and was wondering if I can get this come over seamless. Everything looks great inside of cinema, but I cannot get the multiple materials over to unity.

Any suggestions???

Dbolto

I’ve had some good luck in baking textures (and even better baking objects). You just have to remember to change the Luminance channel to a Color channel before trying to bring it into Unity.

Just freeze your polygon selection as usual, assign textures to the differnet selections (with a bitmap in the color path and nothing else active in the materials… thats very important).
When using R10.1 it works just by dropping the native c4d file into your asset folder. Manual FBX Export will also support this feature. The Unity-Shaders will automatically be named after your different c4d materials. Should be no problem.

[edit]

Its important to freeze all polys into selections not only those for the second material f.e. Each poly-selection will be exported correctly.

Tested with C4D R10.1 and R9.1

[edit again]

In case you simply overlayed textures in c4d you got a little problem. I would suggest to use decals then or put some extra polygons on your model, wich contain only the second or third material by using polygon selections.

Finally finished :wink:

I hope this helped

I just found your example scene in another thread.

Here is the solution how i would do it.

Assign your textures via freeze selections to the 4 big polys. Use the third texture with smooth alpha on the single floating polygon, also via freeze selection. Make it float just above the others so that it doesnt touch it (to avoid those flickering clipping/rendering issues). That should do the job.

44280--1616--$polys_407.jpg

Thanx guys,

Wadamw,

Thanx for the info about placing the image only in the color channel. Apparently it is the only channel that transfers correctly. I will do that for sure. I plan to bake the textures after figuring this whole thing out so this is very useful.

Alpha,

Thank you as well. The approach that you are suggesting is one that I am actually trying to move away from. I currently have that technique in use in my main scene, but I’d like to have it so that I can paint the detail directly to my terrain without having geometry so that I can have more control and less geometry.

What do you mean when you say Assign my textures through FREEZE selections?? Is that when you connect multiple objects into one or use the connect command to collapse all??

Dbolto

When you select polygons of your Mesh you can use the “freeze selection” command from the selection menue to mark those specific polygons. When you do so, you get a poly selection tag in the object manager beside your object. You can name the selection tag and apply materials only to that specific selection. All you need to do ist to tell your material, the selection tag name. That feature can be accessed via the material tag. Materials are rendered in order of their tags.
So your model can have different textures at the same time. They dont layer, but show up only on those polygons you selected via freeze selection comand.
Thats what i meant.

Hi

There is another way to achieve this:
just select the polygons you want to change and
Grap a material from the material manager and throw
It on the polygons. This will automatically create
A Polygon Selection Tag with a different material.
It’s a very simple procedure.

By the way: it looks that I don’t have a freeze function.
Is this the same as the “Set Selection” command ??

Norby

Good to know :smile:. These little hints make work easy. Thanks!

Its the second last comand in the selection menue. I got the german version and it says “Selektion enfrieren” wich actually means freeze Selection…

44406--1618--$selection_528.jpg

That’s why i couldn’t find it.
the German version is slightly different
then the English one

Thanks

Norby

At least the comands are in the same order :smile:

Good to know.

Frank

Okay. I have actually got that going on. I am familiar w/ the Set Selection command, but as you mentioned there is no way to texture so that they overlap.

Is this possible in any other app to Unity. Maya possibly??? I’m really trying to get a seamless work flow from Cinema to Unity with this.

What I’m trying to do is create model where the base material has a DECAL material setup all in Cinema and is brought in directly to Unity.