Make bloom post process check for selected feature #7984
Labels
category - post-processing
good first issue
An opportunity for first time contributors
type - enhancement
Right now you can apply certain post process effects to just one feature. The bloom shader doesn't do any check to allow you to apply it to just to the selected feature as you would expect.
This is potentially pretty easy, you just need to take the check from another post process like the black and white one: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/PostProcessStages/BlackAndWhite.glsl
and apply it in the bloom shader: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/PostProcessStages/BloomComposite.glsl
The forum thread here has an example you could use for testing. Note that you'd need to test the selected feature on a model, since entities aren't yet supported there (see #6705).
The text was updated successfully, but these errors were encountered: