Commit Graph
21 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 01d3267942 refactor: enhance lighting setup with additional light types and helpers 2026-08-26 07:56:00 +07:00
sayudhalw 297e1c83e6 refactor: update lighting setup in script.js, adding new light types and GUI controls 2026-08-25 19:56:05 +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 2680337232 refactor: integrate gsap and lil-gui for enhanced debugging and animation controls 2026-08-25 05:56:11 +07:00
sayudhalw 0df0119434 refactor: update geometry creation to include additional parameters for BoxGeometry 2026-08-24 19:52:45 +07:00
sayudhalw df350c2096 refactor: update geometry creation to use BufferGeometry for improved performance 2026-08-24 17:33:47 +07:00
sayudhalw 19aa918d0e refactor: remove GSAP dependency and update code structure for improved readability 2026-08-24 12:45:42 +07:00
sayudhalw cda633bea1 refactor: replace clock with Timer for animation updates 2026-08-24 07:32:53 +07:00
sayudhalw 9c52c11d90 refactor: remove GSAP dependency and update camera controls with OrbitControls 2026-08-24 07:20:55 +07:00
sayudhalw ad3370d274 feat: implement cursor-based camera movement and update camera initialization 2026-08-23 22:19:32 +07:00
sayudhalw 6a8f2e0cb5 fix: add near and far clipping planes to camera initialization 2026-08-23 21:32:21 +07:00
sayudhalw c7f275d784 refactor: replace GSAP with Timer for animation updates 2026-08-23 20:47:03 +07:00
sayudhalw ced9c2b65a feat: integrate GSAP for object animations and update package dependencies 2026-08-23 20:43:55 +07:00
sayudhalw cebdb9e921 fix: update animation logic for smoother object movement 2026-08-23 16:52:40 +07:00
sayudhalw e190aea4b6 refactor: use THREE.Clock for animation timing 2026-08-23 16:04:37 +07:00
sayudhalw 421efb9ff1 feat: add pnpm workspace configuration and update project title 2026-08-23 16:04:27 +07:00
sayudhalw 2cc2c69bee Add initial project setup with pnpm and configure .gitignore
- Created .gitignore to exclude node_modules, build outputs, environment files, logs, and editor-specific files.
- Added pnpm-lock.yaml to manage project dependencies.
- Introduced pnpm-workspace.yaml to allow builds with esbuild.
- Updated script.js to set mesh position using a single method call, cleaning up commented-out code.
2026-08-23 12:45:14 +07:00
sayudhalw 4cbc25dcae first commit 2026-08-13 19:03:52 +07:00