KEMBAR78
Explicitly mention how depth/alpha/stencil values get used by Manishearth · Pull Request #800 · immersive-web/webxr · GitHub
Skip to content

Conversation

Manishearth
Copy link
Contributor

Fixes #671

There's actually no direct algorithm for WebGL framebuffers that can handle these, typically you control these via framebufferRenderbuffer and framebufferTexture2D which our code forbids.

Instead, I looked at how the primary drawing buffer handles this in WebGL and updated the opaque framebuffer text to work with that, since its purpose is to match the drawing buffer anyway.

r? @toji

@toji
Copy link
Member

toji commented Aug 13, 2019

Perfect, thank you!

@toji toji merged commit 3373054 into immersive-web:master Aug 13, 2019
@toji toji added this to the August 2019 milestone Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define how a WebGLFramebuffer is allocated from XRWebGLLayerInit options

2 participants