Three.js shaders An example of vertex and fragment shaders using Three.js Setup You will need to have Node.js installed. Then type the following in a terminal: npm install To Run npm run dev Then open http://localhost:1234 in a browser.