Skip to content

Upgrade to three r98 #147

@jsantell

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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions