Jump to content

Babylon Sandbox replication


netpenthe
 Share

Recommended Posts

Hi 

I'm new to Babylon and would love to be able to replicate the look (lighting/background) of a model when I load it into the Sandbox here: https://sandbox.babylonjs.com/

This is my attempt: https://dash.makersempire.com/watch2/rhys-battle-strife

The model is here if so you can try it in the Sandbox: https://www.dropbox.com/s/rn4yuz3qg5m3rrx/cloud.babylon?dl=0

I've tried adding the env file used in the Sandbox, but it seems to be a city street or something.

I saw an old post in here about doing this, but I couldn't follow what they did :/

I'd love to see how it is done in the Playground: https://www.babylonjs-playground.com/#7ZHXP1

Any help would be greatly appreciated.

Thanks

Jon

 

Link to comment
Share on other sites

Thanks Deltakosh :)

One thing I noticed -

When I load the .babylon file into the scene the colors are flat and don't look very nice.

When I load the .glb file of the same model (that I exported using the Babylon GTLF2Export function) the model has some really nice lighting around it.

  • Is this because the .glb file was exported with better lighting?
  • Is it possible to get this on the .babylon file too? (i've tried for a couple of hours with no luck)

Appreciate your time!

Link to comment
Share on other sites

This is because glrf is using PBR which support image based lighting where non PBR scene (like the one exported in babylonjs file format) requires light setup(multiple lights)

Link to comment
Share on other sites

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...