https://github.com/codeandweb/cocos2d-x-dynamic-lighting-example
Cocos2d-x tutorial: Sprite animation with dynamic light using normal maps - SpriteIlluminator
https://github.com/codeandweb/cocos2d-x-dynamic-lighting-example
Last synced: 12 months ago
JSON representation
Cocos2d-x tutorial: Sprite animation with dynamic light using normal maps - SpriteIlluminator
- Host: GitHub
- URL: https://github.com/codeandweb/cocos2d-x-dynamic-lighting-example
- Owner: CodeAndWeb
- Created: 2015-05-12T12:09:12.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T11:55:14.000Z (over 2 years ago)
- Last Synced: 2025-04-03T17:12:26.844Z (about 1 year ago)
- Language: C++
- Size: 13.1 MB
- Stars: 53
- Watchers: 7
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cocos2d-x dynamic lighting demo
---
This simple Cocos2d-x project demonstrates how to
- load sprite frames from a sprite sheet
- create an animation
- initialize a point light effect with a normal map
- and enlighten your animation
Here's the full tutorial: [2d dynamic lighting with Cocos2d-x](https://www.codeandweb.com/blog/2015/05/12/lighting-demo-cocos2d-x)

Setup
---
To keep the repository size small we haven't added Cocos2d-x itself to the repo.
Please copy the cocos2d-x-3.6 installation directory to LightingDemo/cocos2d after cloning.