Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ykob/study-threejs-lighting

It's a study record of 3D graphic lighting with the shaders that I created by quoting from three.js.
https://github.com/ykob/study-threejs-lighting

nuxtjs threejs webgl

Last synced: 3 months ago
JSON representation

It's a study record of 3D graphic lighting with the shaders that I created by quoting from three.js.

Awesome Lists containing this project

README

        

# study-threejs-lighting
It's a study record of 3D graphic lighting with the shaders that I created by quoting from three.js.
https://ykob.github.io/study-threejs-lighting/

## Build Setup

```bash
# install dependencies
$ yarn install

# serve with hot reload at localhost:8080
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

# deploy to GitHub Pages
$ yarn deploy
```

## Reference sources

- [three.js shaders](https://github.com/mrdoob/three.js/tree/master/src/renderers/shaders)
- [THREE.AmbientLight](https://threejs.org/docs/?q=Light#api/en/lights/AmbientLight)
- [THREE.DirectionalLight](https://threejs.org/docs/?q=Light#api/en/lights/DirectionalLight)
- [THREE.HemisphereLight](https://threejs.org/docs/?q=Light#api/en/lights/HemisphereLight)
- [THREE.PointLight](https://threejs.org/docs/?q=Light#api/en/lights/PointLight)
- [THREE.SpotLight](https://threejs.org/docs/?q=Light#api/en/lights/SpotLight)

## Assets

- [Water Surface Normal Map](https://www.cgtrader.com/3d-model-collections/ocean-8k)
- [Object Normal Maps](https://www.cgtrader.com/3d-models/textures/natural/s-ea3e180f-bfed-4c62-aaa1-4045e48d8d59)
- [Nebula Spherical Map](https://www.cgtrader.com/3d-models/textures/miscellaneous/nebula-spherical-maps-and-skyboxes-8192x4096-px)