Skip to content

<a-scene background=""> #2908

@mrdoob

Description

@mrdoob

three.js r87 will bring a optimized handling of scene.background and should work nicely in VR.

https://github.com/mrdoob/three.js/blob/dev/src/renderers/webgl/WebGLBackground.js#L26-L108

I think a-frame should add support for this. Right now I see people creating spheres and adding them to the scene which is not the most optimal way of doing it.

Maybe <a-background> as a component could also work. That way one could add more logic to it like converting equirectangular to cubemaps (using CubeCamera) automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions