https://github.com/defold/sample-normal-maps-2d
https://github.com/defold/sample-normal-maps-2d
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/defold/sample-normal-maps-2d
- Owner: defold
- License: mit
- Created: 2024-01-30T16:25:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-17T14:00:29.000Z (almost 2 years ago)
- Last Synced: 2025-04-06T13:36:58.232Z (9 months ago)
- Language: GLSL
- Size: 3.87 MB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2D normal mapping
This sample project shows how to use a sprite material with multiple samplers and textures to achieve a normal mapped 2D light effect.
Demo: https://defold.com/sample-normal-maps-2d/
## Credits
* Animated character: [FlexYourBrain](https://github.com/FlexYourBrain)
* Cobblestone texture: [LearnWebGPU-Elie Michel](https://eliemichel.github.io/LearnWebGPU/basic-3d-rendering/lighting-and-material/normal-mapping.html#normal-mapping)