Elvas Tower: Shadow Question - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Shadow Question Rate Topic: -----

#11 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 02 November 2013 - 01:20 AM

View PostGenma Saotome, on 01 November 2013 - 04:16 PM, said:

is there an adjustment available?


Well, you seem to be running with normal settings so you can do a few things; setting ShadowMapDistance to a value like 500 (the default of 0 means "ViewingDistance / 2" [i.e. 1000]) will mean better quality shadows locally for the same VRAM but less distance, and increasing ShadowMapResolution will mean better quality shadows for the same distance but more VRAM. Feel free to experiment here, particularly with the resolution if you have a many-GB graphics card.

View PostGenma Saotome, on 01 November 2013 - 04:16 PM, said:

Why not inverse the effect?


Alas, it's not that simple. (Stupid maths!) This is a known issue with Variance Shadow Maps (scroll down to near the bottom of http://msdn.microsof...esktop/ee416307 for details, particularly the 'Light Bleeding' section). I'm always looking for improvements, but, for now, this is the best we have. I am planning to try out deferred rendering soon, which may give us more flexibility, though.

#12 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,356
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 02 November 2013 - 08:06 AM

View PostJames Ross, on 02 November 2013 - 01:20 AM, said:

Well, you seem to be running with normal settings so you can do a few things; setting ShadowMapDistance to a value like 500 (the default of 0 means "ViewingDistance / 2" [i.e. 1000]) will mean better quality shadows locally for the same VRAM but less distance, and increasing ShadowMapResolution will mean better quality shadows for the same distance but more VRAM. Feel free to experiment here, particularly with the resolution if you have a many-GB graphics card.


How does one change ShadowMapDistance? It's not in the options page, nor in the registry.

#13 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 02 November 2013 - 08:13 AM

View PostGenma Saotome, on 02 November 2013 - 08:06 AM, said:

How does one change ShadowMapDistance? It's not in the options page, nor in the registry.


Like all other default-valued settings, it is not saved; just create the entry in the registry (type DWORD).

#14 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,356
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 02 November 2013 - 09:48 AM

Done.

Shadows do appear a bit darker in places but AFAI can tell there is no change WRT one face casting a shadow on another.

Any other suggestions?

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users