google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 365 forks source link

fix A-Frame text causing mirrored camera view on iOS 11.3 #102

Closed machenmusik closed 6 years ago

machenmusik commented 6 years ago
Changes Proposed:

save and configure extra values we need, then restore when we're done, so that using A-Frame text doesn't mirror camera view on iOS 11.3

Fixes:

save and restore flipY and frontFace also, TEXTURE_BINDING_2D

Checklist:
judax commented 6 years ago

Great job solving this problem @machenmusik !