Description

Live Chat: Discord.
Get the latest builds: Patreon.
Get Mods here: Reddit.
Public Version for Heroine Rescue Team (v0.51): Here.
Download for Heroine Rumble is at the Heroine Rumble page.

Wednesday, October 4, 2017

Shadows


Spend most of today getting shadows to work and got it working in an acceptable fashion for demo#1.

What is the issue you ask? Well, the first observation is that the view distance in a third person view game is far larger compared to an indoor setting like Heroine Rumble was. The second is the player moves and looks around, and there is potentially a much large area that the shadow need to cover. The underlying issue, in short, is that a statically placed shadow setup no longer works. And it requires something smarter.

I'll spare you the details, but the end result is a shadow system that only "draws" shadows at regions where the camera/player can see.



But even then, it was not quite good enough. Here is why:

When the shadow bounds is large, there is very little resolution when viewed close:





Picking a smaller shadow "bounds" results in nicer shadows:



However, it leads to problems when views far away:



I didn't manage to completely solve the problem yet, but I have reached a good enough compromise for demo#1. That is, use a small shadow bound for nice shadows, and don't draw shadows when far away:

3 comments:

  1. this game look great are going be releasing new version of rumble heroine is done

    ReplyDelete
  2. I'm more anxious for the customize/collection feature on H.R.. I know working on both projects is a huge challenge but I also like HR so much. Also what is this new game called? How is it going to be lewd? Just short clothes and undressing (not bad if it is, let make this clear)?

    ReplyDelete
  3. I am not working on HR atm. The next game will have a far greater customization system and it's own grab/sex system as well.

    ReplyDelete