gl.clear not working with cached state masks

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
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

1 thought on “gl.clear not working with cached state masks

  1. Can you please provide sufficient context so the issue can be reproduced? A live demo would be helpful.

Comments are closed.