Carlosan Posted March 16, 2015 Report Share Posted March 16, 2015 This is the Unity Master Thread.You can throw your questions in here, as this will be a sticky. Get unity3d:http://unity3d.com/unity/download/Useful resources and learning materials:Forums http://forum.unity3d.com/Semi-official Wiki http://unifycommunity.com/wiki/index.php?title=Main_PageQ&A http://answers.unity3d.com/index.htmlScripting tutorials http://www.unity3dstudent.com/Scripting tutorials http://cgcookie.com/unity/Popular Plugins & tools:Strumpy Shader Editor: http://forum.unity3d.com/threads/56180 2 Quote Link to comment Share on other sites More sharing options...
Carlosan Posted March 18, 2015 Author Report Share Posted March 18, 2015 Hi, I imported some objects for Per Pixel Painting into 3D-Coat for use in Unity 5.1. Import Model 2. Choose Workflow in Paint Room under: Textures-->Textures Import/Export Workflow --> Take what you want. 3. Paint Model 4. Export: If you choose Gloss/ Metalness or Roughness/Metalness, you export the Albedo and Normal Map via the Textures --> Export function. For the specular map with glossiness in the alpha channel, you have to switch the workflow (2.) to the first one (Gloss/Color Specular). Then you can export the specular Map (Textures --> Export). 5. Import Unity: Choos the standard shader (specular setup). Hope this helps! P.S. Thanks to digman who pointed me first into the right direction Quote Link to comment Share on other sites More sharing options...
Member Silicon Power Posted April 9, 2015 Member Report Share Posted April 9, 2015 When I import normal maps from 3D-Coat 4.5 to Unity 5 It doesn't work correctly! Is there any tip? Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted April 9, 2015 Advanced Member Report Share Posted April 9, 2015 If you go to the actual material you are using the normal map with, Unity will have a dialogue box that something is up with the normal map and the option to 'Fix now'. I don't know why it does this but 'fix now' in some way converts it to a normal map that is readable by the Unity engine 1 Quote Link to comment Share on other sites More sharing options...
Member Silicon Power Posted April 9, 2015 Member Report Share Posted April 9, 2015 I know but still it doesn't looks like when it's on 3D-Coat I know there is a problem with normal maps that doesn't work correctly on Unity5 Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted April 9, 2015 Advanced Member Report Share Posted April 9, 2015 Mine look good from 3DC to Unity. Under what circumstances do yours not look like 3DC's? What do you set your normal value at? 1 Quote Link to comment Share on other sites More sharing options...
Member Silicon Power Posted April 9, 2015 Member Report Share Posted April 9, 2015 (edited) Thanks, here is two pic of difference between 3D-COAT and Unity 5 (reflection doesn't work correctly in unity5) Normal value in unity is set at 1 In the 3D-COAT But in the Unity 5 it looks like this Edited April 9, 2015 by Silicon Power Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted April 9, 2015 Advanced Member Report Share Posted April 9, 2015 (edited) What PBR workflow are you using? What color space are you in? I can't see much of a difference in terms of normals, it looks like more of a difference with the roughness map and values to me. Also what are you using the standard cubemap for environment lighting? The HDR/ environment lighting often makes a big difference to the final look. Also Unity apparently remaps the smoothness channel so you may need to account for this to get a closer look. I've been using Substance Painter recently but effectively you drop your smoothness/ roughness prior to import to Unity Here's a good thread with some useful discussion on it (based around SP) https://forum.allegorithmic.com/index.php?topic=4335.0 Edited April 9, 2015 by arumiat 1 Quote Link to comment Share on other sites More sharing options...
Member Silicon Power Posted April 9, 2015 Member Report Share Posted April 9, 2015 Thank you arumiat for your help. I've done another painting and export again and this time the problem was gone! I don't know why!!! I have one more question! How can I extract 3D-COAT environment maps for use is the unity? (is this possible)? Quote Link to comment Share on other sites More sharing options...
Reputable Contributor digman Posted April 20, 2015 Reputable Contributor Report Share Posted April 20, 2015 (edited) Here is the link for working with Unity's Standard Shader Since 3DC Beta version 4.5.17 we have both Specular and Metallic workflows for Unity. The web page has Unity 5's specular and metallic charts. WORKING WITH PHYSICALLY-BASED SHADING: A PRACTICAL APPROACH http://blogs.unity3d.com/2015/02/18/working-with-physically-based-shading-a-practical-approach/ Edited April 20, 2015 by digman Quote Link to comment Share on other sites More sharing options...
Member Shu Posted May 12, 2015 Member Report Share Posted May 12, 2015 Unfortunately, I didn't make any screenshots when it happened and ever since I ran into that problem I just quit using normal maps on a project, but anyway: Ever since updating to Unity 5, I get weird artifacts when using normal maps from 3D-Coat. Could I be missing something? Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted May 12, 2015 Advanced Member Report Share Posted May 12, 2015 Normal maps are working in Unity 5, so no doubt you are Quote Link to comment Share on other sites More sharing options...
Member Shu Posted May 12, 2015 Member Report Share Posted May 12, 2015 (edited) Normal maps are working in Unity 5, so no doubt you are Thanks for pointing this out! So I took another look into this. I created a new object and exported it to Unity 5. But I still run into some weird problems, especially strange artifacts. Maybe someone can tell me what I might be doing wrong? Here are some images showing the problems that appear when using maps from 3D-Coat: Also, some more information: The artifact next to the mouth already showed up in 3D-Coat at some point, but after restarting 3D-Coat it was gone. On the other hand, the artifact on the forehead made its first appearance in Unity. EDIT: Alright, The artifact on the forehead might appear due to bad topology. I'm not sure, but the quad split into the direction I didn't want it to. Is there a way to tell the quad how to split up? (preferably without triangulation) Also, I can't seem to set the workflow type to metallic or specular when exporting as it is shown here: http://3d-coat.com/forum/index.php?showtopic=17331&p=119277 The line "Texture export/import workflow" is missing. Does this option only show up in 3D-Coat 4.5? I'm still using 4.1. Edited May 12, 2015 by Shu Quote Link to comment Share on other sites More sharing options...
Carlosan Posted June 14, 2015 Author Report Share Posted June 14, 2015 Q. What is the workflow to export PBR maps that are compatible with Unity 5? A. In the Paint Room go to Textures>Texture Export/Import Workflow and choose your preference. Paint your model. For Roughness/Metalness workflow: Go to Textures>Export>Color/albedo Map (name it with _Albedo) Go to Textures>Export>Normal Map (TS, Low-Poly Mesh) (name it with _Normal Map) Go to Textures>Texture Export/Import Workflow and choose Gloss/Color Specular Go to Textures>Export>Specular Color (name it with _Metallic) (Optional) Go to Textures>Export>Emissive Intensity (name it with _Emission) In Unity, using the Standard Shader: Drag Color/albedo Map on Albedo channel Drag Normal Map on Normal Map channel Drag Specular Color Map on Metallic channel Drag Emissive Intensity Map on Emission channel and choose emission color. Quote Link to comment Share on other sites More sharing options...
Member Shu Posted July 8, 2015 Member Report Share Posted July 8, 2015 Thank you very much for your answer, carlosan! This was very helpful and most of the stuff works now as expected. I was even able to shorten the whole procedure: (The first step will create both a map that can be used for albedo and a normal map at once. Of course, besides exporting the mesh itself.) 1. File -> Export Object and Textures 2. Textures -> Texture Export/Import Workflow -> Gloss/Color Specular 3. Textures -> Export -> Specular Color 4. Textures -> Export -> Emissive Intensity I’m just a little bit confused about emission. If I understand this correctly, Unity’s Standard Shader“ can’t use an emission color map? Because it seems I can only use an emissive intensity map and set a certain color for the whole map. So basically, I cannot use different emissive colors on the same mesh. Also, I still don’t know why those fragments occurred while testing last time. They just didn’t appear after trying once more. I still get some shadow casting from the mesh onto itself which doesn’t exactly look awesome due to low-poly geometry, but I guess I’d just have to increase polycount or turn shadows off. Here is an image with shadows turned on (left) and shadows turned off (right): Quote Link to comment Share on other sites More sharing options...
New Member Lionel Posted July 11, 2015 New Member Report Share Posted July 11, 2015 Hi, my model looks good in 3D Coat but it has some strange artifacts in Unity: many quads have become more gray... why is this? This is in 3D Coat This is in Unity Standard shader This is in Unity Specular shader (so without normal map) And this is in Bumped Diffuse shader (so without specular) Quote Link to comment Share on other sites More sharing options...
Carlosan Posted January 17, 2016 Author Report Share Posted January 17, 2016 Requires Unity 5.2.1 or higher.Requires 3D Coat 4.5.18 or higher.A plugin that allows to use native 3D-Coat 3b file format with asset created with per-pixel or ptex painting mode.After adding 3b file to a project, plugin will automatically open it and create a 'prefab' with models and materials, which can be duplicated and tweaked independently. https://www.assetstore.unity3d.com/en/#!/content/49457 1 Quote Link to comment Share on other sites More sharing options...
Advanced Member arumiat Posted February 22, 2016 Advanced Member Report Share Posted February 22, 2016 Trying to try out the plugin. Unity 5.3.2f1 - I open up a new Unity project. - Import 3DC plugin from asset store - save painted .3b file to the Assets folder, hierarchy looks like so: - but the assets don't load like in the video. The .3b file is read as a texture, and there's another unknown type of file I also get this console error: Any ideas? Quote Link to comment Share on other sites More sharing options...
Member wlokaz Posted February 23, 2016 Member Report Share Posted February 23, 2016 I have tested plugin: many times have imported 3d models files. Up to 2MB it goes smoothly, but if it's above 2MB I'm having problems with mesh import. Cannot import model to Unity. A fix would be useful and information regarding plugin opportunities Quote Link to comment Share on other sites More sharing options...
Carlosan Posted May 25, 2021 Author Report Share Posted May 25, 2021 Unity 2021.1 Beta is Available The Unity team has released Unity 2021.1 Beta for creators to test updated features. Unity started 2021 with the release of Unity 2021.1 Beta with a pack of updated features and is looking forward to receiving valuable feedback from creators. 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.