Closed Macieyou closed 1 year ago
I managed to solve the problem by adding new light sources:
<ViroAmbientLight color="#ffffff" intensity={200} /> <ViroDirectionalLight color="#ffffff" direction={[0, -1, -0.2]} />
and decreasing the value of the 'lightReceivingBitMask' to 3
Environment
Description
Hi, I am new to viroReact and have a problem with a 3D model (.obj). The model is half completely black and I don't know why. Is it related to the light I set or maybe the .obj file itself? Can someone with more experience with this library help me with this? I wish the bottom was darker but not completely black.