8thwall / web

8th Wall Web projects and resources.
515 stars 326 forks source link

Update custom threejs renderer to support iOS 15.4 #197

Closed cmbartschat closed 2 years ago

cmbartschat commented 2 years ago

Context

Without this change, this bug can cause rendering issues.

We need to delay the instantiation of the custom renderer until XR8 is loaded, now that we're using XR8.JsDevice.

Testing

Taking the sample threejs project and using the custom renderer, the visual issues are observed, until the finish call is added, which fixes it.