You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But what I really want is an ability to define a custom brightness function.
Here is what I am trying to do: Any pixel that is brighter than a certain threshold of gray should turn to white and the remaining pixels stay as is.
This is a bit more custom than the raster brightness or raster contrast knob.
Is this possible anyhow?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to see if I can apply a custom brightness function on the raster tiles.
I see there are some
paint
knobs to control the brightness and contrast:https://docs.mapbox.com/mapbox-gl-js/style-spec/#paint-raster-raster-brightness-min
and
https://docs.mapbox.com/mapbox-gl-js/style-spec/#paint-raster-raster-contrast
But what I really want is an ability to define a custom brightness function.
Here is what I am trying to do: Any pixel that is brighter than a certain threshold of gray should turn to white and the remaining pixels stay as is.
This is a bit more custom than the raster brightness or raster contrast knob.
Is this possible anyhow?
The text was updated successfully, but these errors were encountered: