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
2026-08-13 19:03:52 +07:00
2026-08-13 19:03:52 +07:00

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
S
Description
No description provided
Readme
7.1 MiB
Languages
JavaScript 92.6%
HTML 5.1%
CSS 2.3%