I couldn't find a basic example of Sveltekit + Threlte + Loading a Texture + Shader. This is it.
- Texture is in the static folder (from Threejs example)
- Simple shaders
See an example here
Run:
npm installTo run:
npm run devOr run and open the app in a new browser tab:
#
npm run dev -- --openTo build run:
npm run build