Material mipmapping

1. A concise explanation of the problem you’re experiencing.

Is there any possibility to enable mipmapping for image materials?

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

https://sandcastle.cesium.com/?src=Rectangle.html&label=Geometries

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

To have better visualization.

4. The Cesium version you’re using, your operating system and browser.

Latest version. Latest Chrome.

Looks like there currently isn’t an option exposed to control this. I opened a feature request for this here: https://github.com/AnalyticalGraphicsInc/cesium/issues/8328

This is where the default sampler is defined. Changing this here would be the easiest way to test what it looks like with a mipmap filter if you have the CesiumJS source locally: https://github.com/AnalyticalGraphicsInc/cesium/blob/8e71f30e8937d59a5ea41d844d1ea9cc7c0655a1/Source/Renderer/Sampler.js#L18-L19

If you’re able to contribute exposing an option to control this as a pull request I’m sure that would be appreciated!