felixpalmer / procedural-gl-js

Mobile-first 3D mapping engine with emphasis on user experience
https://www.procedural.eu/map
Mozilla Public License 2.0
1.28k stars 84 forks source link

Fix issue with terrain display on Windows 10 browsers #5

Closed felixpalmer closed 3 years ago

felixpalmer commented 3 years ago

For some reason Windows devices don't respect the nearest filtering set on the indirection texture, which leads to everything falling apart. Manually snapping in the shader fixes it. Perhaps worth conditionally compiling this in the shader in the future