lights
Adds dynamic lighting via deferred shading to PixiJS
File Explorer
Download Latest Version (.zip)- build.yml
- CONTRIBUTING.md
- BGTextureNORM.jpg
- BGTextureTest.jpg
- block.png
- blockNormalMap.png
- couch.jpg
- counch_norm.jpg
- panda.png
- index.html
- usage.html
- ambient.frag.ts
- AmbientLight.ts
- AmbientLightShader.ts
- index.ts
- directional.frag.ts
- DirectionalLight.ts
- DirectionalLightShader.ts
- index.ts
- index.ts
- Light.ts
- LightShader.ts
- ViewportQuad.ts
- index.ts
- point.frag.ts
- PointLight.ts
- PointLightShader.ts
- shared.ts
- Circle.ts
- index.ts
- LayerFinder.ts
- .editorconfig
- .gitignore
- .npmrc
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/pixijs-userland/lights
Downloads the entire project code from GitHub to your computer.
cd lights
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm i && npm run build
Builds optimized production files.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
