Jump to content

BabylonJS Editor Toolkit - Version 3.1 Alpha


MackeyK24
 Share

Recommended Posts

On ‎2‎/‎6‎/‎2018 at 4:08 PM, JTerry said:

Hey @MackeyK24,

I've been using the Unity3d to Babylon exporter and it's working great. Awesome job! I have a problem that I was hoping you could help me with though. When I export to Babylon with, it looks like the metalness doesn't translate. For example, if I create a sphere with Metallic at 1 and smoothness at 1 (or roughness at 0), I get black in Bablylon. I've tried Standard, Standard Roughness Setup, and Standard Specular setup and they all look the same. I've tried an HDR skybox too. Below are some screenshots. You can see that the sphere on the right is visibile in Babylon, but it has a Metallic & smoothness value of 0.

By the way, I'm using Unity 2017.3.

Any idea?

 

unity.thumb.JPG.f78474df1859a1c5db945baba16dba3f.JPGbabylon.thumb.JPG.94d37b915a770f824651fadc4ccb13c8.JPG

Yo @JTerry If you package up the scene in a Unity Package and send to me I will try to figure out whats going on :)

 

Link to comment
Share on other sites

Yo @JTerry ... I haven't heard from you... I think your problem is using the Default-Skybox from unity... that is a procedural skybox and the toolkit does not know how to create and setup the proper reflection textures... either use a NON unity procedure skybox... or set  your CUSTOM reflection texture  that you could prebake using any full image HDR panorama source image ... that is the BabylonJS->Cubemap Tool

Best to just prebake the six sided skybox and HDR reflection texture BOTH using the Cubemap Tool :)

I think I am going to add the Skybox material library item as a default skybox in the toolkit... so if you are using the unity default sky... I will try to make the Material Library skybox (which is procedural generated) as close as I can to the default unity skybox... that way you always have a valid Babylon skybox for reflections... YOU NEED A VALID BABYLONG JS SKYBOX FOR REFLECTIONS :)

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

You need to git clone this project https://github.com/BabylonJS/Exporters.git

Or you can just pull the unity package: https://github.com/BabylonJS/Exporters/blob/master/Unity 5/EditorToolkit/Redist/Asset Store-5.x/BabylonJS/BabylonJS Editor Toolkit.unitypackage

Just install the unity package from Unity. It's pretty straight forward. Let me know if you still have problems.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...