CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
902 stars 287 forks source link

Let the user configure whether raster overlay textures are sRGB #1358

Open kring opened 6 months ago

kring commented 6 months ago

Currently, Cesium for Unreal marks all raster overlay textures as being sRGB. This is a big problem if the pixel values are meant to be some sort of data rather than an sRGB color.

Instead, we should make it a configurable property of the raster overlay. As indicated in this TODO: https://github.com/CesiumGS/cesium-unreal/blob/571c3f929751f050e09f3d4eda72527e8e5b6b6d/Source/CesiumRuntime/Private/Cesium3DTileset.cpp#L773-L781