Skip to content

Undesired background clipping #9235

@vanruesc

Description

@vanruesc
Description of the problem

While playing around with the new Scene.background feature, I stumbled upon a weird clipping issue that can be observed under certain circumstances.

In this jsFiddle, I reproduce the issue by purposely setting the viewport height to a very small value. The following screenshot shows the resulting problem:

clip

The skybox is occasionally being clipped in an unexpected way.

This behaviour can also be observed in this example from #9158. If you decrease the browser height enough you'll notice the same issue while moving the camera.

I don't know what causes this issue, but - at least in the jsFiddle - it disappears after disabling the logarithmicDepthBuffer.

Three.js version
  • 79dev
Browser
  • All of them
  • Chrome (51)
  • Firefox (47)
  • Internet Explorer (11)
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS

Only tested on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions