weBIGeo / webigeo

Rendering system for weBIGeo.
GNU General Public License v3.0
4 stars 0 forks source link

Remove sampler for height texture in render pipeline #23

Open pkomon-tgm opened 1 month ago

pkomon-tgm commented 1 month ago

Currently we have a sampler for the height texture in the render pipeline. The sampler is unused as we only need plain texture loads, no filtering. We should remove it (in both, shader and c++ code).

https://github.com/weBIGeo/webigeo/blob/0f75376a069e2392c106d7f77f8399044eaca227/webgpu_engine/wgsl_shaders/Tile.wgsl#L34

https://github.com/weBIGeo/webigeo/blob/0f75376a069e2392c106d7f77f8399044eaca227/webgpu_engine/TileManager.cpp#L191-L200