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
texture2Dtotexture - Renamed
texture(the uniform) tonoiseTexture(since the wordtextureis now reserved) - Use
PixelFormat.REDinstead ofPixelFormat.LUMINANCE