I’m new to Cesium and looking for a way to apply custom fragment shader to Cesium scene.
If you are looking for a way to apply a filter to the whole scene, have
a look to the postprocess-hook branch.
There is a Post Process Filter.html to get you started.
Also check out Cesium materials:
https://github.com/AnalyticalGraphicsInc/cesium/wiki/Fabric (code examples may be slightly dated)
Thank you this is exactly what I need
postprocess-hook works great, I’ve managed to apply special effect to cesium.
Now I need to apply time variable to my shader. How can I update uniforms?
I want to do something like this:
What kind of “time” are you looking for?
You might just be able to use the built-in czm_frameNumber.