viromedia / viro

ViroReact: AR and VR using React Native
MIT License
2.31k stars 483 forks source link

Question about lighting a chandelier #817

Open matthewgertner opened 4 years ago

matthewgertner commented 4 years ago

I purchased a 3D model of a chandelier from https://free3d.com/3d-model/traditional-ceiling-light-485.html. There are two versions of the model in OBJ/MTL format, one when the light is on and one when it is off.

When I render the models in Blender, the on and off version look more or less like the image on the product page for the chandelier:

Screen Shot 2020-01-30 at 17 21 53

However, when I drop the models into my test Viro app, the two versions look the same to me:

IMG_0872

I've tried playing with the lighting of the scene but with no success (the example above has an ambient light with intensity 5000 and a downward facing directional light).

Any ideas what I might be doing wrong? I'm using Viro 2.17.0 with @Hless's fork for React Native 0.61.2.

dthian commented 4 years ago

Hey @matthewgertner, mabye try using Environment lighting?