Exported Blender model in three.js (json) is not correctly reported from DirectionalLight



  • I'm building a simple element in the blender.
    I'm exporting it to three js (json).
    Exports the data on the cult in three js on stage. As a result, this exported object is not adequately covered by the DirectionalLight light source. (There is also a three-js facility on this stage that is correctly covered)

    Источник света направлен сверху вниз (_dirLight.position.set(0, 400, 0))

    It turns out that the object will be displayed relative to the axis correctly, and the lights are confused by the z and y axis. So if you send a light source on the axle x, it's all right.

    Источник света направлен от нас (_dirLight.position.set(400, 0, 0))

    If anyone knows how to deal with this problem?



  • I know it's unlikely. But try to make Flip Normals in the blender. введите сюда описание изображения




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2