Skip to content

gl.clear not working with cached state masks #13448

@szhuchkov

Description

@szhuchkov
Description of the problem

gl.clear would not clear render target if state mask is currently set (i.e. by previous material)

gl.clear( bits );

Three.js version
  • Dev
  • r90
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions