https://github.com/dbabbs/harp-shadows
Shadows on a harp.gl map with Three.js help 💨
https://github.com/dbabbs/harp-shadows
Last synced: about 1 year ago
JSON representation
Shadows on a harp.gl map with Three.js help 💨
- Host: GitHub
- URL: https://github.com/dbabbs/harp-shadows
- Owner: dbabbs
- Created: 2019-11-21T10:00:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:00:34.000Z (over 3 years ago)
- Last Synced: 2025-03-18T11:22:53.095Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://dbabbs.github.io/harp-shadows/dist
- Size: 6.53 MB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# harp.gl shadows
### [Live Demo](https://dbabbs.github.io/harp-shadows/dist)
This project showcases shadows in the [harp.gl](https://harp.gl) map renderer with [Three.js](https://threejs.org/).
The lighting and shadow code is in the the `src/shadows.js` file. Directional light is first added to the scene and then the shadow options are configured.
### Installation
```
npm i
npm start
```
### Windmill Attribution
The windmill model comes from [Adrian Hage](https://sketchfab.com/3d-models/windmill-animated-6ce5667e8d5c47068ea13196036efd52) and is available under the CC Attribution license.