Jump to content


Photo

Sun Shadow Transition INI Settings

skyrim ini

  • Please log in to reply
12 replies to this topic

#1 DoubleYou

DoubleYou

    Wiki Stepper

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,481 posts

Posted 24 October 2015 - 06:14 PM

I created these videos a while ago, and finally uploaded them to Youtube for your viewing pleasure. Most are linked on the INI guides, but I think one or two are not.
 
Skyrim.ini

Smooth sun-shadow transitions

fSunShadowUpdateTime sets the speed of sun-shadow transitions in seconds. It is recommended to be adjusted to minimize the transitions.
 
fSunUpdateThreshold sets the time between sun-shadow transitions. A value of 0.05 is equal to 1 second, so a value of 1 equals 20 seconds. Increasing this also increases the distance the shadows will move during the transition. It is recommended to be adjusted to minimize the transitions.
 
Default Sun Shadows
fSunShadowUpdateTime=1
fSunUpdateThreshold=0.5

 

STEP Tweaked Sun Shadows
fSunShadowUpdateTime=0.25
fSunUpdateThreshold=1.5

 

Other Various Tweaked Sun Shadows

fSunShadowUpdateTime=0
fSunUpdateThreshold=0

http://www.youtube.com/watch?v=3b0bQ3i--ks

 

fSunShadowUpdateTime=1

fSunUpdateThreshold=0

http://www.youtube.com/watch?v=Pl4MOCHE_wk

 

fSunShadowUpdateTime=0

fSunUpdateThreshold=2

http://www.youtube.com/watch?v=Ot7ciNOlxVo

 

fSunShadowUpdateTime=0.5

fSunUpdateThreshold=0.05

http://www.youtube.com/watch?v=OZPFrnV42s8

 

fSunShadowUpdateTime=0.5

fSunUpdateThreshold=1

http://www.youtube.com/watch?v=muVKsRlg9AM

 

fSunShadowUpdateTime=1

fSunUpdateThreshold=1

http://www.youtube.com/watch?v=jvjqG8RFoaM

 

fSunShadowUpdateTime=2

fSunUpdateThreshold=0.5

http://www.youtube.com/watch?v=9dJN0zuPDHI



#2 Yakuza

Yakuza

    Prisoner

  • Members
  • 14 posts

Posted 06 November 2015 - 04:39 PM

Hi. So I have a different setting used than what is recommended, based on what the STEP wiki provides for information on the two Sun values. And I wanted a couple questions answered since it's confusing.
 

fSunShadowUpdateTime=3 ;;Game takes 3 seconds to transition to the new shadow position
fSunUpdateThreshold=3 ;;Game takes 3*20 or 60 seconds to send the update.



Am I wrong in thinking this causes the game to do more work in a burst, and/or less work over time? Is the game still checking for sun/time changes every 3 seconds or whatever for 1 minute to pass in-game? Are any of the 3 below statements true?

- More GPU work in a burst because it has to move all shadows at once for a longer period of time.

- Less GPU work over time because it's not frequently changing the shadow position.

- Less CPU work over time because it's not constantly checking the sun time (i.e. fSunUpdateThreshold = gametick checking?)


Maybe I'm misunderstanding what these settings do/expecting more out of them. I actually enjoy 3/3 settings because shadows are more static (which I prefer but it's probably not as good as constantly moving shadows), but they also sort of shimmer like they would in real life with birch trees and such when the wind blows. And best of all, they don't drastically change in position. I was mostly hoping it helped with game performance at high shadow distances, though.

Edited by Yakuza, 06 November 2015 - 04:40 PM.

  • 0

#3 Spock

Spock

    Jarl

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 556 posts

Posted 19 November 2015 - 10:12 PM

I personally really like 0.5 for both values, but I also use a reduced time scale. Your shadows seem to be affected by the lod switching bug btw (I recently posted a video by defosh369 here: http://forum.step-pr.../#entry146208).


  • 0

#4 DoubleYou

DoubleYou

    Wiki Stepper

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,481 posts

Posted 20 November 2015 - 02:02 AM

I do most of my shots with default values for the other settings so that they cannot possibly have an effect on my tests. That's why that bug is in there.

#5 Shadriss

Shadriss

    Jarl

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 685 posts

Posted 20 November 2015 - 02:52 AM

I've always been curious - is it possible to set these up so that the shadows are actually continuously moving, IE, simulating real time update? ANY kind of jump is jarring to me, no matter how quickly it happens, so I'd rather have a slow transition that ends just as the next one begins to make it look like one smooth continuous motion. Possible or Pipe Dream?


  • 0

#6 Spock

Spock

    Jarl

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 556 posts

Posted 20 November 2015 - 07:27 AM

A good friend of mine explained to me what he thinks is happening (from a quick look). He said that there are shadow tracing artifacts in the way Skyrim shadows are traced, visible when the shadow moves as flickering. The sun shadow update mechanic is a hack to mask the faulty shadow tracing code. You would have to fix the code and disable the hack. He said fixing the shadow tracing might be possible with draw call interceptions, but he would have to know the possibilities of the ENB shadow shaders and find the time etc.


Edited by Spock, 20 November 2015 - 07:28 AM.

  • 0

#7 DoubleYou

DoubleYou

    Wiki Stepper

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,481 posts

Posted 20 November 2015 - 09:51 AM

See the videos. They can be continuously moving, but the timescale is so fast that it really seems odd. It feels like you're in a time-lapse video.



#8 elwaps

elwaps

    Commander

  • Members
  • PipPipPipPip
  • 223 posts

Posted 21 November 2015 - 03:40 PM

@Yakuza

Forget about CPU load, I didn't have a single situation in four years of Skyrim where the CPU became the bottleneck.

 

I've had the 0.25/1.5 settings recommended by STEP so far but the "not moving for a while"/"moving alot at once" transitions always annoyed me. It becomes smooth when for example using 0.25/0 (inspired by your 1/0 video) - but even when using an ENB (Vividian default) the shadow isn't smooth enough to not look weird. Is there any solution to this except for going to extreme shadow resolutions? I would but I actually have to GAIN performance (thanks JK/ETaC/Verdant/CoT/ENB!) to get a well playable Skyrim in all situations.

 

 

 

/edit
Recorded with "set timescale to 100"


Edited by elwaps, 21 November 2015 - 03:42 PM.

  • 0

#9 DoubleYou

DoubleYou

    Wiki Stepper

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,481 posts

Posted 21 November 2015 - 08:21 PM

How about this:

 

fSunShadowUpdateTime=500000000000
fSunUpdateThreshold=500000000000

 

I guarantee you will not see the sun transition  ::P: 



#10 elwaps

elwaps

    Commander

  • Members
  • PipPipPipPip
  • 223 posts

Posted 21 November 2015 - 08:42 PM

:woot: 

 

I'm currently trying to merge some AOS2 patches (that for some reason include a huge amount of sound files when merging and therefore apparently take ages to finish) followed by an approximately half hour reproccer and a one hour DynDOLOD run so I can't test for myself at the moment - but what would happen when setting both values to 0? Incredibly smooth realtime sun transitions bought with 30 instead of 17% CPU load?  :O_o:


  • 0

#11 Spock

Spock

    Jarl

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 556 posts

Posted 21 November 2015 - 09:07 PM

Afaik CPU load is not the problem, shadow tracing artifacts are. It just doesn't look good.


  • 0

#12 elwaps

elwaps

    Commander

  • Members
  • PipPipPipPip
  • 223 posts

Posted 21 November 2015 - 09:50 PM

So all one can do is playing with 8192 shadow resolutions and buy this with 5-10fps? ^^


  • 0

#13 DoubleYou

DoubleYou

    Wiki Stepper

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,481 posts

Posted 21 November 2015 - 10:19 PM

It doesn't cost much fps to set to 0, but looks terrible IMHO.





Also tagged with one or more of these keywords: skyrim, ini

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users