Uploaded September 2019 | Updated September 2026, 1 hour ago
Normal maps are a great way to add depth to 2D images - and I've seen this being used to brilliant effect in some 2D games.
They work by adding in an addtional "image" that sits alongside your typical image. This "image" is actually 3D directional information, which affects any lighting that is present in the scene. It does this by increasing or decreasing the intensity of light depending on the directions contained in this "image". Just as a flat surface will look dim if you put it diagonally-facing a light, normal maps do the same thing: they tell the surface how much light to "reflect" depending on the directions of the "fake" surface that now makes up the image.
You can find these models on my GitHub: github.com/s0lly/2DNormalMapsInExcel
And if you have any suggestions for future videos, let me know!
Other Social Media stuffs:
twitch.tv/s0llygaming
twitter.com/s0lly
instagram.com/s0lly.gaming
Normal maps are a great way to add depth to 2D images - and I've seen this being used to brilliant effect in some 2D games.
They work by adding in an addtional "image" that sits alongside your typical image. This "image" is actually 3D directional information, which affects any lighting that is present in the scene. It does this by increasing or decreasing the intensity of light depending on the directions contained in this "image". Just as a flat surface will look dim if you put it diagonally-facing a light, normal maps do the same thing: they tell the surface how much light to "reflect" depending on the directions of the "fake" surface that now makes up the image.
You can find these models on my GitHub: github.com/s0lly/2DNormalMapsInExcel
And if you have any suggestions for future videos, let me know!
Other Social Media stuffs:
twitch.tv/s0llygaming
twitter.com/s0lly
instagram.com/s0lly.gaming
![2D Game Engine in C++: [7] Lighting
This video expands the engine by adding in lighting - something that Ive been quite interested in ever since my first attempt at lighting in my Dungeons and Flagons game.
LightSources can be owned by GameObjects, which makes for implementing lighting around the game world quite easy.
Ive also been playing around with 2D normal maps, which will be demonstrated in the next video. It makes for quite the visual effect, particularly when the depth calculations are included!
I will release all code on GitHub once Ive finalised the engine - and have nice looking code to boot!
Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili! 2D Game Engine in C++: [7] Lighting](https://i.ytimg.com/vi/LWs6klgHhd4/mqdefault.jpg)









