Sinner’s Sorrow is an atmospheric 2D action adventure game currently in development for PC (Win/OSX/Linux). In Sinner’s Sorrow you are a sinner fighting for your redemption. Set in a dominantly black and white and ominous world, you take up arms against your inner demons. With sword and shield and a multitude of esoteric abilities you strike down those that stand between you and redemption, or fall into deeper darkness. Sinner’s Sorrow combines the intensity of dynamic action combat with a heavy atmosphere and aspects of puzzle solving, light platforming and influences from the Metroidvania genre.

Post news Report RSS 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. Here we take a look at how we use lighting within the game.

Posted by on

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.

Sinner’s Sorrow is an atmospheric 2D action adventure game currently in development for PC (Win/OSX/Linux).

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:

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, you can check that out here:

Post comment Comments
reliphell
reliphell - - 40 comments

OMG the a e s t h e t i c s, vaporwave aside i love how the mapping looks. how you discovered that tool ?

Reply Good karma Bad karma+1 vote
bitHuffel Author
bitHuffel - - 1 comments

Thanks! You have an idea, google around a bit, see what you can find, and if it's good you use it!

Reply Good karma+1 vote
Pacov123
Pacov123 - - 47 comments

Cool

Reply Good karma Bad karma+1 vote
yofreestuffs
yofreestuffs - - 4 comments

nice

Reply Good karma Bad karma+1 vote
Strife2
Strife2 - - 10 comments

looks good

Reply Good karma Bad karma+1 vote
Fakexwariods
Fakexwariods - - 21 comments

Looks great man

Reply Good karma Bad karma+1 vote
khorbt
khorbt - - 9 comments

wwow

Reply Good karma Bad karma+1 vote
Quantinus
Quantinus - - 44 comments

nice!

Reply Good karma Bad karma+1 vote
InaudibleSound
InaudibleSound - - 18 comments

nice!

Reply Good karma Bad karma+1 vote
ICHNICERO
ICHNICERO - - 622 comments

Looks like you're going to need a "beefy PC" to run this title...

Reply Good karma Bad karma+2 votes
SashaPlahta
SashaPlahta - - 48 comments

cool

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: