Hi, all! Forked today the Zappar Universal AR project in order to view a large building in AR. For proper visualization it requires updating the variables nearClip and farClip, but I can’t get them to work in-game like in Editor.
Zappar’s Official Documentation tells to set zNear and zFar directly on the script zapparCamera.js, like this, but had no sucess:
It seems Playcanvas depolyed Zappar version 0.3.8 from February , while zFar e zNear is available from version 0.3.10.
Any way to get this working for delivering with urgency this project to Pinacoteca de SP? It’s one the largest museums in Latin America. Hundreds of thousands of people are likely to try this AR experience
Having a quick look at this from their example and docs and can’t see anything where they’ve exposed the zNear and zFar planes
Edit: Looks like they haven’t exposed the zNear and zFar params in Zapper.projectionMatrixFromCameraModel. It’s available in the internal function projection_matrix_from_camera_model