Skip to content

Explicitly mention how depth/alpha/stencil values get used#800

Merged
toji merged 1 commit intoimmersive-web:masterfrom
Manishearth:framebuffer-params
Aug 13, 2019
Merged

Explicitly mention how depth/alpha/stencil values get used#800
toji merged 1 commit intoimmersive-web:masterfrom
Manishearth:framebuffer-params

Conversation

@Manishearth
Copy link
Copy Markdown
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
Copy Markdown
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