Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 💨

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.