Big problem with C4D and ZBrush to Unity -.-

Hey there,
I’m using C4D for my 3D-stuff, but for complex things I’m using ZBrush to. Since the latest version of ZBrush I can use GoZ to transfer files between C4D and ZBrush easily. This works fine.

But I’ll get big UV-problems, if I’m doing the following steps and I don’t know why. Maybe one of you can help me:

  1. I create a ball in C4D
  2. I go to UV-setup and let order the UV for optimal position (done by C4D)
  3. I click on GoZ to send my ball to ZBrush
  4. I done some modeling or texturing to this ball in ZBrush
  5. I click on ‘new from polypaint’ to create the new colored texture from my painting
  6. I send it back to C4D with GoZ

As you can see on my screenshots my UV is broken, there are this big lines (not visible after rendering in C4D!) and if I use this ball as asset in U3D it not only has still this lines - I can also look into my object every time (look at the screenshot).

So I’m confused. Have I to setup something in U3D after import the files?

When I create an object only in C4D it works perfectly - so I think there is something wrong with the UV after using ZBrush.



My guess is that you texture is painted exactly by the UV borders, so when Unity uses lower mipmap for rendering it hits pixes outside of UV.

You can fix that by bleeding the edges of your texture in PhotoShop or similar tool. I don’t know if it’s posible to paint texture in zbrush in a way, which does’t lead you to this problem.

Can you post your texture?

A good way to verify is to turn off “Generate mipmaps” in the texture import. If the seams go away, then it’s a mipmapping issue. Then you can either fix the texture in Photoshop, or I think you can have ZBrush do it by selecting the border size in the unwrap options before doing a polypaint->texture. I don’t have ZBrush on this computer so can’t verify.

Another option is to use xNormal to bake the textures across and use it’s border system. Since most of my stuff coming from ZBrush get’s retopo’d and baked across using xNormal anyways, that’s how I do it.

EDIT: For the second problem, of being able to see through your object, it’s most likely a problem with the normals being incorrect. Try having Unity generate normals instead of importing them and see if that fixes it.

Expand the border either in Z-Brush or in Bodypaint. Make sure you have a gap around your UV islands, otherwise there wont be room for your pixel border. If you do your texturing in Bodypaint it’ll automatically give you a border as set in the preferences. If you’re texturing in Z-brush or sculpting then after you’ve created your maps you’ll need to use the “Fix seams” option to resolve such issues.

Thank you all for your fast help! :slight_smile:

It seems to work now!!