Member asimpleart Posted June 20, 2017 Member Report Share Posted June 20, 2017 I'm exporting from 3d Coat to Unity and things are looking a little weird (see attachment) Here's my process: 3d Coat - File>Export Objects & Textures (see attachment for settings) Drag 3d coat generated maps and model into Unity Apply the respective maps to the material, all according to the file name.IE: Head_Albedo gets dragged to Unity's Albedo in the materials Inspector window. (see attachment). Something that's interesting in this step is when dragging Head_Normal into the materials Normal Map, I get a warning that says "This texture is not marked as a normal map" With a fix now button. Drag Model into scene, I see it obviously doesn't look right (see attachment) Hit that Fix Now button, looks close, but if you look closely, the normals look weird in some spots. Any ideas on what's going on and how to fix this? 3d-Coat 4.7.24 Unity 5.6.1 Quote Link to comment Share on other sites More sharing options...
Carlosan Posted June 20, 2017 Report Share Posted June 20, 2017 Hi ! Select the resolution of mesh to export. Please try switching to LowPoly Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 Hey, thanks for the prompt reply! Unfortunately just gave that a shot and it didn't work, looks exactly the same. Any other ideas? Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 If it helps at all, I took a screenshot of 3d Coat's normal's from the texture editor, and also included a screenshot of unity's normal map after hitting fix now. Quote Link to comment Share on other sites More sharing options...
Carlosan Posted June 20, 2017 Report Share Posted June 20, 2017 using 3DCoat to Unity plugin, you get weird result too ? https://www.youtube.com/watch?time_continue=3&v=k6QX8avCmRU Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 Yea, same issue. I applied the Normal map as Albedo to see if I could get anymore clues. It's pretty clear there are parts where the normals in certain part of the UV unwrap isn't exporting correctly. See attached. Ideas? Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 Further clues. I think I see what the problem is but not sure how to fix it. Looks like 3dcoats automap tool have some random sections that should be all part of the same one. Quote Link to comment Share on other sites More sharing options...
Javis Posted June 20, 2017 Report Share Posted June 20, 2017 It looks like you may have islands that over overlapping or flipped normals on those sections, in your first bakes. If you supply the original mesh file (OBJ or FBX), the 3B and your baked normal map. I can take a look at it. For those auto unwrapped islands, just unmark the seams around the area you don't want them, and you should be good to go. Quote Link to comment Share on other sites More sharing options...
Reputable Contributor digman Posted June 20, 2017 Reputable Contributor Report Share Posted June 20, 2017 (edited) Auto Map in 3DC is planar mapping and will create lots of small uv islands. The tool tip for this method gives you this information. Sometimes the small uv islands will be place in areas that not the best for normal maps or as Javis said. Auto Seams is a best guess approach on the shape of the model. You will still get more than the number of uv islands that are necessary and if the model is very complex you might get some uv islands with self intersection. Best always to create your uv seams by hand if using it for a game engine. According to the Unity docs, you as the user must tell Unity that the image is a normal map after importing. https://docs.unity3d.com/Manual/StandardShaderMaterialParameterNormalMap.html Inspector panel---Texture Type---Normal map--- Press Apply. You also are exporting the wrong workflow for Unity, Switch to Gloss / Metallness in the export panel. Edited June 20, 2017 by digman 1 Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 Cool thanks guys! I'm unwrapping by hand and will report back! Quick question: After marking a seam, how would I delete that seam? I've searched and haven't found any documentation on this. Quote Link to comment Share on other sites More sharing options...
Javis Posted June 20, 2017 Report Share Posted June 20, 2017 Use the "Mark Seams" tool, hold CTRL and LMB click on the edges you want to deselect. Quote Link to comment Share on other sites More sharing options...
Reputable Contributor digman Posted June 20, 2017 Reputable Contributor Report Share Posted June 20, 2017 (edited) I edited my post after you posted your last one here is it if you did not see it. You are exporting the wrong workflow for Unity 5. In the export panel choose Gloss / Metalness. I use the simple export because I get to choose what maps I need to export depending upon the Model. The preset is fine but if I do not need all the maps of the presets, why generate them. Deselect " use export constructor for per / channel packing You can create your own preset as well. Opps... as I was just showing this for you too see, I had forgot to change to export Low -poly mesh. The reason exporting mid-poly is in the selection list is that if you subdivided your model when baking to the paint room or import directly into the paint room. You have a choice to export the original low poly or subdivide poly model. Edited June 20, 2017 by digman Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 Thanks Digman I'll try those settings then. Another newb question: Since I have to redo my UV's, do I need to rebake? If so, does that also mean I need to redo my textures? Thanks again for your help! Quote Link to comment Share on other sites More sharing options...
Reputable Contributor digman Posted June 20, 2017 Reputable Contributor Report Share Posted June 20, 2017 (edited) 38 minutes ago, asimpleart said: Thanks Digman I'll try those settings then. Another newb question: Since I have to redo my UV's, do I need to rebake? If so, does that also mean I need to redo my textures? Thanks again for your help! You can retain your textures and normal maps using the below method but in your case with a bad normal map this might not work completely. you might have to redo your work...or a least the normal map work. Since you baked the model to the paint room already, I assume you are creating your new uv seams in the UV room. UV room. Once done with the uv seam creation. Left tool bar. look at picture and follow that order. You must not unwrap completely again as rotation or flipping of the uv islands will destroy your normal map. Upd. Islands will officially update the uv set to the new seam layout PackUV2 will only scale the uv islands. If you do not have enough separation after using packuv2 manually give the uv islands some more space. Appy Uv -set only once. You be asked again when returning to the paint room, just close the panel. Side Note: Just incase for your FYI. In Unity be sure to have a reflection probe surrounding the area that your model is in to get correct PBR reflections. https://docs.unity3d.com/Manual/class-ReflectionProbe.html Do some reading on light probes as well if you have not. Edited June 20, 2017 by digman 1 Quote Link to comment Share on other sites More sharing options...
Member asimpleart Posted June 20, 2017 Author Member Report Share Posted June 20, 2017 I actually accidentally created uv seams in the retopo room. Anyway to transfer this to the uv room? Quote Link to comment Share on other sites More sharing options...
Javis Posted June 20, 2017 Report Share Posted June 20, 2017 Once you perform a bake, the Retopo object will be transferred, with the UVs you created there, to a Paint object. If you are meaning though if there is some way to transfer the work you've done UV seam wise, and only the seams. Not really. You'd probably need to redo it. But, if it's the same mesh in the Retopo room, baking is the easiest way. 1 Quote Link to comment Share on other sites More sharing options...
Reputable Contributor digman Posted June 20, 2017 Reputable Contributor Report Share Posted June 20, 2017 (edited) By now, I would chalk this up to a learning experience or go to the uv room and redo the seams there. The new ones in the retopo room 3DC will not used when updating from the uv room. If you choose to Rebake and redo your textures. Generally you will be asked to delete the previous bake when starting to bake again. If you do not get the warning dialog then first go to the paint room and delete the paint object, the surface materials will be deleted as well. At the bottom of the layer panel on the far right click on the 'X' to remove the unneeded layers. Normally the curvature map is not deleted, just redo your curvature map in the paint room when you have your new baked model. And last of all, enjoy learning the ends and outs of 3DC. I edited may last post to include this information. You can retain your textures and normal maps using the below method but in your case with a bad normal map this might not work completely. you might have to redo your work...or a least the normal map work. Edited June 20, 2017 by digman 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.