How to create animated heatmaps?

Hi @robmilton, here’s a sandcastle examplle that works in WebGL2.

And here’s a modified sandcastle that will work in CesiumJS 1.107 when createWorldTerrain and Model.fromGltf are removed for their async alternatives.

It required a few changes:

  • Renamed texture2D to texture
  • Renamed texture (the uniform) to noiseTexture (since the word texture is now reserved)
  • Use PixelFormat.RED instead of PixelFormat.LUMINANCE
1 Like