The Long Way is a sci-fi first person shooter game. This game is about a very big political conspiracy, which went out of control and had a very bad consequences on Earth and people.

Post news Report article RSS Feed A final solution for shadows and AO

Now I found the best solution for shadows - Variance Shadowmap. It's soft and supports AO and many other shaders.

Posted by Sgw32 on Sep 13th, 2010

I'm not satisfied with a result of old shadow techinques, but now it works. They took me a week of work, but now they work. I found a thread on Ogre forums and I implemented this technique of shadows to my game engine. It has:

  • Ambient Occlusion Shader
  • Diffuse and Specular shader
  • And of course - shadows!

Just take a look, how this shaders work:

Variance Shadowmapping Variance Shadowmapping

Differences between all versions of shadows:

Differences of shadow technologies

I walk on this map every day, and it's starting to be annoying... So I'll start mapping a new game level on this week. It's an outdoor level. I have made a new MINIGUN model (because many people said that old minigun was ugly) , but it's still not ready, and I'll upload it soon. Please comment, and keep tracking!

Post comment Comments
ExecutorTassadar Sep 13 2010 says:

Links to the pictures don't work for me... :(

Manually opening them worked, though

+1 vote     reply to comment
Mkilbride Sep 13 2010 says:

What did shadows ever do you to you that you had to come up with a Final Solution for them?

+2 votes     reply to comment
Elementalist Sep 13 2010 replied:

That was terrible but I laughed so hard I had to wipe tears from my eyes.

For the image, there aren't any shadows being cast, such as by the chair. Will that be added?

+1 vote     reply to comment
wilsonC Sep 14 2010 replied:

ahahaha final solution.
mkilkbride beat me to it though :P

+1 vote     reply to comment
Sgw32 Author
Sgw32 Sep 14 2010 replied:

They are soft. It works when you place light in room, and there is not light in another room. The shadow from the wall is soft. You can see it in ction:

+1 vote   reply to comment
Sgw32 Author
Sgw32 Sep 17 2010 says:

-> Will that be added?
Ah, sorry! :) I placed incorrect lights on scene. Now fixed. Wait for a new screens, now the shadows cast properly!

+1 vote   reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

The Long Way
Developer & Publisher
SGL Team
Send Message
Release Date
Released Aug 2011
Game Watch
Track this game
Post news
Report Abuse
Report article
Related Games
The Long Way
The Long Way Single Player First Person Shooter
Related Engines
Run3 Game Engine
Run3 Game Engine Proprietary TBD
Related Groups
SGL Team
SGL Team Developer & Publisher with 8 members