exokitxr / exokit-frontend

Frontend for exokit. Turns exokit into a spatial web browser. 🦎
7 stars 3 forks source link

Opening dropdown menus makes viewport black #12

Closed chrislatorres closed 5 years ago

chrislatorres commented 5 years ago

from https://github.com/exokitxr/exokit/pull/1002#issuecomment-492787368

Opening any of the dropdown menus makes the viewport black, maybe there is some alternative to just show "screenshots" of the viewport/engine render?

layCapture

avaer commented 5 years ago

This is deliberately not rendered while you have a menu open, because we do not depth-composite the 2D UI and the 3D. It can be done with a shader or stencil, though at that point it brings exokit close to being burdened with 2d browser concerns.

avaer commented 5 years ago

I think I have a solution for this: we can use a green screen and a shader to composite.