CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.89k stars 3.48k forks source link

Allow for custom imagery adjustments #6449

Open ggetz opened 6 years ago

ggetz commented 6 years ago

Provide a hook into the shader for custom adjustments to imagery when rendering the surface of the globe.

From the forum: https://groups.google.com/forum/#!topic/cesium-dev/ZCXAoriJogw

Imagery layer already provides some built in adjustments, like brightness/contrast/hue/saturation, which I believe are performed by shaders in the rendering pipeline. What is the best way to add my own custom adjustments to an imagery layer. For example, I would like to dynamically adjust the brightness of pixels per RGB channel (brighten blue, dim red, etc). Is there any way to add my own shader for a specific imagery layer (and pass parameters to it)? Or perhaps, is there another way to do this without shaders?

ggetz commented 1 year ago

Request on the forum, specifically sharpening the texture– https://community.cesium.com/t/how-to-apply-postprocessstage-to-a-specific-imagerylayer/23683/8