Skip to content

Conversation

elalish
Copy link
Contributor

@elalish elalish commented Dec 11, 2021

While debugging WebXR mode I noticed we were recompiling some shaders that shouldn't. A couple of small fixes:

  1. The placement box is transparent and was double-sided, which was causing it to be rendered twice (with two different shaders).
  2. The shadow is turned off in AR until the model is set on the floor. Turning off the shadow recompiles the shader, so instead I turn it to a small (invisible) value.

@elalish elalish self-assigned this Dec 11, 2021
@elalish elalish requested review from a user and samaneh-kazemi December 11, 2021 00:21
@elalish elalish merged commit b7befad into master Dec 11, 2021
@elalish elalish deleted the recompile branch December 11, 2021 00:57
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.

1 participant