Skip to content

vipin018/blob-mixer

Repository files navigation

1. create a new folder name blobmixer

2. run the command npm create vite@latest

3. run the command npm install

4. run the command npm run dev

  • remove the counter.js file
  • remove the javascript.svg file
  • take out everything from src folder

5. create a file name vite.config.js and import glsl from 'vite-plugin-glsl'; also download the glsl plugin

why are we using meshphysicalmaterial instead of shader material?

  • because shader material cannot give us the reflection property of the environment but meshphysicalmaterial can