elm-explorations / elm-explorations/webgl

Allow efficiently clearing depth and stencil buffers

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
123
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Right now to clear the stencil or depth buffer it is necessary to do a hack like drawing a full-screen quad. It would be useful (and presumably more efficient) to have something like some special `Entity` values `WebGL.clearDepthBuffer` and `WebGL.clearStencilBuffer` that would end up simply calling `gl.clearDepth()` or `gl.clearStencil()` when drawn.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.