Game
Sinner's Sorrow
9 years ago

Sinner's Sorrow - Lighting


Sinner’s Sorrow is a game that relies on setting up a heavy and tense atmosphere. One of the methods we use to achieve this is with the lighting.

Below you see a simple tree branch and a couple of rocks to the left. Here you can see how the light bends around the objects and creates the illusion that we are looking at objects with mass and depth as if existing in a 3D plane, while they are still 2D images. This creates some cool possibilities to play with the lights and how they create situations for the player. For instance, what if all the lights suddenly went out and you find yourself in near darkness, relying on a small source of light that you have on you? Good luck not getting tangled up with something nasty hiding in the darkness!

This method of lighting is achieved by using something called a normal map. A normal map is a variant image of the regular image used. This variant gives the image the necessary information to react to lights passing by. For instance, the regular image and the corresponding normal map for the branch look like this:

5d0b96fa53793.png
5d0b96fb365c1.png

We use SpriteDLight to automatically generate these normal maps as creating these manually is a bit too much. These images are then combined in a single shader which has parameters that can be adjusted to alter some of the image properties (such as how intensely it reacts to lights or how much the light wraps around the images). This can all be adjusted in real-time.

The lighting in Sinner’s Sorrow is a core component of the game to create the atmosphere, facilitate gameplay and set up an engaging visual style, even more so because we are working with a black and white style which brings challenges of its own. But with this style we can set up some awesome and surprising encounters.

As a teaser for what you may find in your path, below is part of a scene we are currently working on. Note that due to unavoidable video compression the in-game result actually looks a lot nicer!

Ps. If you missed the reveal trailer, here it is:



0 comments

Loading...

Next up

Bandana Dee the Dream Friend

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Heya! I wanted to show some gameplay progress i made so far. I hope you like it ^^

Family band complete!

Showing off player 2 😎

What do you think?

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

My D&D art for my family so far (WIP if you couldn't tell)