Commit Graph
6 Commits
Author SHA1 Message Date
sayudhalw 6c3768e477 Refactor lighting and shadows in the scene
- Removed pnpm-workspace.yaml configuration for esbuild.
- Updated index.html title from "Lights" to "Shadows".
- Enhanced script.js with new shadow textures and improved lighting setup:
  - Added ambient, directional, spot, and point lights with shadow capabilities.
  - Removed unused light configurations and helpers for clarity.
  - Introduced shadow casting and receiving for objects.
  - Updated sphere movement and shadow opacity based on position.
- Added bakedShadow.jpg and simpleShadow.jpg texture files for shadow effects.
2026-08-27 10:53:36 +07:00
sayudhalw 0212ab224c refactor: update title in index.html and clean up script.js, removing unused textures 2026-08-25 14:20:03 +07:00
sayudhalw 9f184ed90b Refactor materials and textures in the project
- 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.
2026-08-25 12:22:39 +07:00
sayudhalw a345a4c057 refactor: remove GSAP and lil-gui dependencies, update project structure and textures 2026-08-25 10:10:49 +07:00
sayudhalw 9c52c11d90 refactor: remove GSAP dependency and update camera controls with OrbitControls 2026-08-24 07:20:55 +07:00
sayudhalw 4cbc25dcae first commit 2026-08-13 19:03:52 +07:00