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

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

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

Family band complete!

Finished work on the emotions of a new character for the tank universe

Call it 'wrong turn'!🚫 The feeling of running into a house with only one exit🚪, and being doomed to die. #pixelart #pixelartist #pixelartwork #art #pixel #indiegame #IndieGameDev #indieartist

Levels' maps.

Here's a Fredbear sprite i made in Aseprite! I'm pretty proud of this!

(Btw, sorry for the double post! I'll try to post less)

I made a small jungle house.

ooh yes..

Pigs can push buttons for you!

#gamedev #pixelart #screenshotsaturday

Don't forget to wishlist Toodee and Topdee on Steam!

https://store.steampowered.com/app/1303950/Toodee_and_Topdee/