xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
694 stars 279 forks source link

[FIX] Remove shader offset for OcclusionTester.js to increase OcclusionTester.js precision #1534

Closed paireks closed 2 weeks ago

paireks commented 2 weeks ago

This PR removes offset for Markers inside the shader to increase precision of OcclusionTester.js. It demands to always apply proper offset for Markers to have a proper occlusion result.