Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic shadows from the lantern MOD
Paddy™ Offline
Posting Freak

Posts: 1,351
Threads: 43
Joined: Feb 2012
Reputation: 224
#21
RE: Dynamic shadows from the lantern - possible?

Holy shitballs that looks awesome. I'd very much like to do this please thank you very much please. How does a noobish moron like me go about achieving this?
05-27-2013, 07:57 PM
Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#22
RE: Dynamic shadows from the lantern - possible?

(05-27-2013, 07:57 PM)Paddy Wrote: Holy shitballs that looks awesome. I'd very much like to do this please thank you very much please. How does a noobish moron like me go about achieving this?
If you're not familiar with the ModelEditor the fastest way for you to test it out would be to simply try my version:
Backup your /Amnesia/models/hand_objects/lantern folder, drop the following files there (overwrite)

...

The official page for the mod is the MODDB page! Click here to download the mod, see screenshots, descriptions, latest updates and resources.

Grphc mods
[Image: moddb_88x31_v12.png]
(This post was last modified: 07-15-2013, 09:33 AM by Bucic.)
05-27-2013, 08:13 PM
Find
Bonehead Offline
Member

Posts: 50
Threads: 12
Joined: Apr 2013
Reputation: 1
#23
RE: Dynamic shadows from the lantern - possible?

Okay. Where is the option to enable the casting shadows.. I mean the code you put up earlier.. where is that?
05-28-2013, 02:16 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#24
RE: Dynamic shadows from the lantern - possible?

(05-28-2013, 02:16 AM)Bonehead Wrote: Okay. Where is the option to enable the casting shadows.. I mean the code you put up earlier.. where is that?

It's in
redist/config/
Should be in the game.cfg, Player_Lantern part.

"Veni, vidi, vici."
"I came, I saw, I conquered."
05-28-2013, 02:24 AM
Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#25
RE: Dynamic shadows from the lantern - possible?

(05-28-2013, 02:16 AM)Bonehead Wrote: Okay. Where is the option to enable the casting shadows.. I mean the code you put up earlier.. where is that?
The option in game cfg does nothing. It's probably for making >the lantern 3d model itself< cast shadows.

Grphc mods
[Image: moddb_88x31_v12.png]
05-28-2013, 07:05 AM
Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#26
RE: Dynamic shadows from the lantern MOD

Even though I've set shadow resolution to high in the model editor for the lantern and in game options the shadow edges are still blocky and flickering. Is there a way to increase the shadows quality even further?

Related
Penumbra to Amnesia shadow rendering regression
http://www.frictionalgames.com/forum/thread-21737.html

Grphc mods
[Image: moddb_88x31_v12.png]
06-06-2013, 09:06 AM
Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#27
RE: Dynamic shadows from the lantern MOD

I've polished the mod. My main complaint was the flickering and jagged edges so I started sniffing. When I set the spotlight FOV to some small value like 30 degrees the shadows became perfect! From my test it all gets messy after 90 degrees and gets worse above this value, at least proportionally. Not only the shadows get worse. Additional graphical artifacts involving shadows appear.

Additional notes:
The further the lightened object from the lantern, the worse the shadow looks like. Opposite to what I was thinking before ('the further the wall the shadow is casted on, the more jagged the shadow').

This is why I'm going to prepare few versions of the mod so even those without the ModelEditor may test various variants and choose the balance between lantern light FOV and shadow quality that suits them.

My question is - is there some sort of tweakable shadow rendering parameter I can fiddle with?
An additional question - is this normal that shadow quality gets worse the higher spotlight FOV or is it just an indication of poor state of the renderer?

Grphc mods
[Image: moddb_88x31_v12.png]
06-30-2013, 10:26 PM
Find




Users browsing this thread: 1 Guest(s)