9f184ed90b46ca232c90b996601e566e7b11efb2
- Updated the title in index.html from "Textures" to "Materials". - Enhanced script.js by adding GUI controls for material properties and loading various textures. - Removed unused textures: checkerboard-1024x1024.png, checkerboard-8x8.png, and minecraft.png. - Added new textures: environmentMap/2k.hdr, gradients/3.jpg, gradients/5.jpg, and multiple matcap textures (1.png to 8.png). - Implemented a MeshPhysicalMaterial with adjustable properties for metalness, roughness, transmission, and thickness. - Updated object rotations for better visual effects in the scene.
Three.js Journey
Setup
Download Node.js. Run this followed commands:
# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build
Languages
JavaScript
92.6%
HTML
5.1%
CSS
2.3%