I’m trying to change the color of an entire mesh, to a color picked from a texture atlas. I believe I am indexing the atlas correctly, but when I do (without updating sampling mode), it is a blended color that isn’t exactly the color I want. So I update the sampling mode to nearest so that it will be exact. But then it adds weird lines through the meshes. Any ideas why?
https://playground.babylonjs.com/#4QC487#8