Skip to content
This repository was archived by the owner on Jul 20, 2020. It is now read-only.

v2.1.0

Choose a tag to compare

@toxicFork toxicFork released this 28 May 20:32
· 248 commits to master since this release

npm install --save react-three-renderer@2.1.0

Changelog ( see diff )

Core

  • Fixed compatibility with react@~15.1.0
  • Fixed compatibility with three@>=0.74.0 < 0.78.0

Breaking changes

  • Lights
    • <directionalLight> and <pointLight> used to point to the origin by default, but from 2.1.0 they will look forward.
      If you would like to restore this behaviour you can do:
  // initialisation
  origin = new THREE.Vector3(0,0,0);
  // and within render 
  <directionalLight ... lookAt={origin}/>

Components

  • Added <lineSegments> geometry descriptor ( #68 ) ( @Nopik )
  • Lights
    • Fixed <directionalLight> and <pointLight> rotation updates ( #65, #73 )
    • Fixed shadow bugs for materials which did not declare a side property
  • Fixed updating of all arrow/axis helper props ( #59, #72 )
  • Allowing updating of geometry properties in subclasses for geometry ( #76 ) ( @jardakotesovec )