Skip to content

Upgrade to three r98 #147

Closed
Closed

Description

@jsantell

We're running r94, several months out of date, and have already ran into some things not going as expected, since I was looking at latest docs/possibilities while working on #133. The upgrade started when wanting to use the EquirectangularToCubeGenerator found in three rather than our dependency, which CubeCamera was only updated 24 days ago to support additional config needed (and got stuck on material stuff).

Also, with scene.background supporting WebGLRenderTargetCube as of 26 days ago, we may be able to just use the same cube-like texture generated for the model environments, rather than needing to store an equirect and placing it on a skysphere. Also we could remove a lot of skysphere logic. (Partial reason for the complexity at the moment)

A few of the third_party examples API changes that were trivial. StaticShadows were broken, and was wrestling with materials using the different EquirectangularToCubeGenerator that I suspect is unrelated to the HDR stuff, but separately, we'll need to tackle this eventually. Didn't see anything in the migration guide that can explain shadow breakage, possibly the render target API changes?

Activity

  1. added
    type: chore
    on Nov 15, 2018
  2. added a commit that references this issue on Nov 15, 2018
    4162749
  3. added a commit that references this issue on Nov 16, 2018
    c867b0d
  4. added a commit that references this issue on Feb 4, 2020
    c8cbb1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arc: rendering & effectstype: chore

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions