Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbabbs/harp-shadows
Shadows on a harp.gl map with Three.js help 💨
https://github.com/dbabbs/harp-shadows
Last synced: 23 days 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:00:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T21:12:33.402Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://dbabbs.github.io/harp-shadows/dist
- Size: 6.53 MB
- Stars: 7
- Watchers: 4
- 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.