• Register

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 RSS 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 on

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
nazfalas
nazfalas - - 541 comments

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

edit:
Manually opening them worked, though

Reply Good karma Bad karma+1 vote
Mkilbride
Mkilbride - - 2,784 comments

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

Reply Good karma Bad karma+2 votes
Elementalist
Elementalist - - 732 comments

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?

Reply Good karma Bad karma+1 vote
Sgw32 Author
Sgw32 - - 212 comments

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:
Indiedb.com

Reply Good karma+1 vote
Sgw32 Author
Sgw32 - - 212 comments

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

Reply Good karma+1 vote
Post a comment

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