Into The Deep Dark Woods: Lighting and Shading

July 20th, 2009


closeThis post was published 2 years 9 months 30 days ago and as such probably does not reflect my current opinions, knowledge or ability.

DarkArea

Although I’ve really only been sharing bright and shiny screenshots of our game, it actually progresses from a sunny farm through to a dark and creepy forest. Naturally, this meant it was time to focus on implementing a coherent lighting model for the level. At the moment we’re working with ambient lighting, two directional lights and two spot lights per short section of our game.

In addition, I’ve been looking at methods for shadowing and shading. Each bee is an intricate model, but scaled down it would be easy to lose a lot of the detail. As you can hopefully see in the following images, shading adds some depth and makes the bees appear far more three dimensional.

Colouring by distance from ground.

Shade by distance from ground.

Colour By Normals

Shade when normals point down.

Combined Shading Techniques.

Combined Shading Techniques.

Combined With Lighting.

Combined With Lighting.

 
 Similar techniques applied across the entire scene also improves the overall appearance, with and without lighting:

HeightAndAO HeightAndLighting

 
 Finally, here’s an additional happier version of the shot above, just to show the difference a change in lighting can make:

BrighterArea



Related Posts


Comments

  1. karinsmiles says:

    Looking really good – can’t wait to see it at protoplay

  2. Hazel says:

    Thanks mum -.-

  3. doug m says:

    looks like the game is progressing really well. is it going to be playable to anyone outside of the competition? and who owns the source code after the fact, i’d really like to see it if you choose to make it open source (if allowed)

  4. Hazel says:

    Thanks :)
    After the competition is finished the game will be hosted on the Dare website so anyone can get hold of it.

    The game and source is owned by Dare to be Digital, but we are able to acquire the rights to it back if we choose to do so as a complete team. Obviously I can’t agree to releasing the source code without talking to everyone else, and we might face limitations on the licenses we could use based on the libraries we’ve worked with, but it’s certainly something we’ll consider. It would be great to continue with the game after the competition and the potential for community contribution would certainly help us do that.

  5. doug m says:

    totally understandable about releasing the code.

    i’ll keep an eye on the site

    keep up the good work :)

Leave a Reply