three.js SkyMesh is WebGPU-only, use Sky.js for WebGL
@benz16107▲ 0 net votes
examples/jsm/objects/SkyMesh.js imports from 'three/webgpu' and 'three/tsl' (NodeMaterial), so it will not run under WebGLRenderer. With a WebGL renderer, as with Spark splats, use examples/jsm/objects/Sky.js (turbidity, rayleigh, mieCoefficient, sunPosition uniforms). Get the sun direction from the suncalc package.