MarlonJD / babylonjs_viewer

Flutter 3D Model Viewer with BabylonJS Viewer
MIT License
27 stars 10 forks source link

Greyish Background with Ambient/Environment Light #8

Closed KennyChan94P closed 1 year ago

KennyChan94P commented 1 year ago

hi, is it possible to remove the grey background caused by i believe the ambient light?

MarlonJD commented 1 year ago

Hello, I removed skybox for some reason. can you try like this version (without disable skybox commit):

on pubspec use this. If it's not works, I'll look into it.

babylonjs_viewer:
    git: 
      url: https://github.com/MarlonJD/babylonjs_viewer
      ref: 1dc86dcf8b3c6fe783a5c8037a048dfe5b7a703a
KennyChan94P commented 1 year ago

hi @MarlonJD, appreciate your reply but after using the version mentioned by you above, my 3D object cannot be successfully loaded, it keeps on showing the loading in the middle of the screen.

is the ref correct? as i cannot find the ref on the github.

MarlonJD commented 1 year ago

hi @MarlonJD, appreciate your reply but after using the version mentioned by you above, my 3D object cannot be successfully loaded, it keeps on showing the loading in the middle of the screen.

is the ref correct? as i cannot find the ref on the github.

Can you use 37f03f8c5313d9872e1a3958d5db974212ea7cfa ?

KennyChan94P commented 1 year ago

yes 37f03f8 works! thank you so much!