That's just a static cube map.
Ah OK. That explains why it doesn't change its shape as the camera moves around. I wonder if it can be disabled for the interior of stations only since if disabled completely, galaxy, stars and nebulae would disappear as well.
 
@Neutronium

I made a few modifications, basically rebalancing the end distances of my last two frustums and tuning the depth biases for six of them to smooth out the cascade transitions to account for those changes, as well as to correct a small issue I encountered at 625m-1.25km. I did a few quick tests of these changes myself, but I could use another set of eyes.

Paste this into the appropreate location of the "Profile_General" you are using and tell me what you think of the station shadows:

XML:
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>3750.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>7500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.002</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum8>

If all goes well, I'll replace my last update with the modified ones after I test the same bias tweaks on other profiles.

Ah OK. That explains why it doesn't change its shape as the camera moves around. I wonder if it can be disabled for the interior of stations only since if disabled completely, galaxy, stars and nebulae would disappear as well.

The only control I've seen for the environment map that controls reflections is it's resolution. If there is a detail setting that controls what is included in the cube map, I don't know of it.
 
Definitely better than before but still with issues.
Uploading YT videos for comparison... about half an hour to go.. my internet upload speed is horrible..
Ok uploading finished at last:
Source: https://youtu.be/kqWifWSyE4s

Source: https://youtu.be/1T6Ev9xagoI

As you can see it's only the viewing angle that affects the station's shadow from a certain distance range (~15Km-9km).
Internal cockpit shadows have been fixed I think.
 
Last edited:
Alright, looks like I really will have to resort to playing with TexelStability to fix that. Have been trying to avoid it as it results in other artifacts closer in, but it's looking more and more like it was enabled for a good reason even on the general profile.
 
After some more testing I've ruled out TexelStability as being the primary cause.

At this point it's looking like the fade distance and I'm doubtful there is an acceptable fix. The reason you don't see the issue at 9-15k in the default settings is because only the single baked in frustum is even being rendered. With a fade of 0.01 in the default profile, the last frustum effectively ends before 6k out.

I'll try a few more things, but it looks like the distance and fade itself is the main issue here.
 
Take your time. We have more than a month until next update rolls out. And I doubt they will improve/change anything in the meantime.
 
Tried pretty much every combination of settings I could think of, even reenabling and tweaking adaptive cascades (which suck, as they destroy my carefully balanced depth slopes), with little success.

The ultimate cause of the issue seen is that the frustum distances do not create a sphere around the viewport, they create a cube, so the frustum extends further toward the edges and corners of that cube. It's less of an issue with the default settings because the end of the last editable frustum in the General profile is only 5.3km out while the end of the final baked in frustum is closer to 13km out.

Best I can do to mitigate this issue, without causing more problems than are solved is this:

XML:
        <Profile_General>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.5</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>50.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>3750.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>2.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>7500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0015</DepthBias>
                <DepthSlopeBias>1.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_General>

If you need more you can set Fade back to 0.01 and and turn down the Frustum8 EndDistance to ~6000

Personally, I still prefer the setting with TexelStability 0.
 
Tried pretty much every combination of settings I could think of, even reenabling and tweaking adaptive cascades (which suck, as they destroy my carefully balanced depth slopes), with little success.

The ultimate cause of the issue seen is that the frustum distances do not create a sphere around the viewport, they create a cube, so the frustum extends further toward the edges and corners of that cube. It's less of an issue with the default settings because the end of the last editable frustum in the General profile is only 5.3km out while the end of the final baked in frustum is closer to 13km out.

Best I can do to mitigate this issue, without causing more problems than are solved is this:

XML:
        <Profile_General>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.5</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>50.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>3750.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>2.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>7500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0015</DepthBias>
                <DepthSlopeBias>1.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_General>

If you need more you can set Fade back to 0.01 and and turn down the Frustum8 EndDistance to ~6000

Personally, I still prefer the setting with TexelStability 0.
Where do you insert these settings?
 
Where do you insert these settings?

That replaces the Profile_General of the Low detail preset in the main GraphicsConfiguration.xml, specifically lines #315 to #412 in my custom file.

I haven't posted the whole set of profiles or an updated file yet as these are still highly preliminary changes.
 
That replaces the Profile_General of the Low detail preset in the main GraphicsConfiguration.xml, specifically lines #315 to #412 in my custom file.

I haven't posted the whole set of profiles or an updated file yet as these are still highly preliminary changes.
Thanks for clarifying it
 
Tried pretty much every combination of settings I could think of, even reenabling and tweaking adaptive cascades (which suck, as they destroy my carefully balanced depth slopes), with little success.

The ultimate cause of the issue seen is that the frustum distances do not create a sphere around the viewport, they create a cube, so the frustum extends further toward the edges and corners of that cube. It's less of an issue with the default settings because the end of the last editable frustum in the General profile is only 5.3km out while the end of the final baked in frustum is closer to 13km out.

Best I can do to mitigate this issue, without causing more problems than are solved is this:

If you need more you can set Fade back to 0.01 and and turn down the Frustum8 EndDistance to ~6000

Personally, I still prefer the setting with TexelStability 0.

Thank you for your tireless efforts Morbad. Haven't had the chance to check it yet. I'll post feedback once I've checked it thoroughly.

Personally, I still prefer the setting with TexelStability 0.

At which frustrum level(s) you propose this?
 
Last edited:
At which frustrum level(s) you propose this?

All of them, though you can get most of the benefits of 2 for the purpose of reducing the effect you noted by setting it for just the last pair of frustums (7 & 8) as by the time you get to the close ones, the bulk of the station should already be shadowed.

That said, there is no perfect solution, as far as I can tell. Either you take the angle dependent shadow pop-in, or you eliminate any frustum past 5 or 6km.
 
issues now at around ~8kms..

That's because the end distance I'm currently using is 7500m and the letter box is about 1km from the station target location.

The way the cascades are projected (a cube with flat faces, not a sphere) means that moving the camera changes the effective projection distance for the shadow map, causing things that are shadowed at one angle to not be shadowed at others, giving the effect you see here.

I originally neglected the fact that there was an unlisted/baked-in cascade (which is more limited than the others) around 12.4km and had my final cascade extend to that same distance. Since it was mostly redundant at that distance, I pulled it back in, both to try to mitigate this issue, and to preserve detail that was otherwise wasted.

I can hide this effect the same way FDev originally did...by pulling in the cascades even futher and removing the fade, but I do not like what this does to most shadows on most objects and would rather live with a few long distance oddities at certain angles on starports. it's also rather tedious to bring in the cascades because doing so requires the whole stack of depth bias offsets to be checked and tweaked to keep other transition artifacts to a minimum.

However, I'll whip up a more condensed set of cascades for the sake of testing and see if this can retain close in detail without as much of this effect.
 
After looking at everything again, I think the best option is to push Frustum8 back out toward 10km so that the station suddenly becoming shadowed isn't as readily apparent in standard drops. 7.5km seems a bit too short, because the baked in shadow cascade isn't complete and stuff that should be shadowed with it is not.

Even the default ultra profiles have this issue, just closer to the station, when the scene is more cluttered.

Only true fix would be an extreme end-distance to the final cascade, but this does not seem to be possible, possibly because of some conflict with the baked-in cascade.
 
Last edited:
This is an incremental update to post #209's profiles. I've mostly just further tuned some depth and slope biases and brought in the final editable frustum of the Profile_General to 12km so that it doesn't overlap quite so obviously with the baked-in cascades. It does not address the issue Neutronium has brought up as I personally feel any suitable fix for that particular problem would require too many sacrifices in other areas. Perhaps I'll look at it again when I make an override-friendly set of edits that don't add additional frustums.

Anyway, my current settings:
XML:
        <Profile_General>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.5</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>50.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>5312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>12000.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.002</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_General>
        <Profile_PlanetApproach>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>5.5</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>50.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0002</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0003</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>5000.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>12500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.002</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_PlanetApproach>
        <Profile_PlanetSurface>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000025</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>3.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>10.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.00005</DepthBias>
                <DepthSlopeBias>2.0</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>40.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>80.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>160.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0001</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>400.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0003</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>1000.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>7500.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.002</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_PlanetSurface>
        <Profile_StationInterior>
            <SliceSize>16384</SliceSize>
            <NumFrustums>1</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>0.0</Fade>
            <CrossFadeCascades>false</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>1470.0</EndDistance>
                <ShaderBias>0.0003</ShaderBias>
                <ShaderSlopeBias>0.0003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>2.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>0</TexelStability>
            </Frustum0>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_StationInterior>
        <Profile_AsteroidField>
            <SliceSize>16384</SliceSize>
            <NumFrustums>9</NumFrustums>
            <FilterQuality>2</FilterQuality>
            <Fade>1.0</Fade>
            <CrossFadeCascades>true</CrossFadeCascades>
            <AdaptiveCascades>false</AdaptiveCascades>
            <NearClipBias>1.0</NearClipBias>
            <FrustumCockpit>
                <DepthBias>0.000075</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>5.0</FilterKernelSize>
            </FrustumCockpit>
            <Frustum0>
                <EndDistance>20.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.5</DepthSlopeBias>
                <FilterKernelSize>1.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum0>
            <Frustum1>
                <EndDistance>50.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>6.0</DepthSlopeBias>
                <FilterKernelSize>1.5</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum1>
            <Frustum2>
                <EndDistance>125.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.0005</DepthBias>
                <DepthSlopeBias>5.0</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum2>
            <Frustum3>
                <EndDistance>312.5</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.001</DepthBias>
                <DepthSlopeBias>4.0</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum3>
            <Frustum4>
                <EndDistance>625.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.002</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum4>
            <Frustum5>
                <EndDistance>1250.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.003</DepthBias>
                <DepthSlopeBias>3.5</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum5>
            <Frustum6>
                <EndDistance>2500.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.003</DepthBias>
                <DepthSlopeBias>3.0</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum6>
            <Frustum7>
                <EndDistance>5000.0</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.003</DepthBias>
                <DepthSlopeBias>2.5</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum7>
            <Frustum8>
                <EndDistance>12500.000000</EndDistance>
                <ShaderBias>0.003</ShaderBias>
                <ShaderSlopeBias>0.003</ShaderSlopeBias>
                <DepthBias>0.003</DepthBias>
                <DepthSlopeBias>2.0</DepthSlopeBias>
                <FilterKernelSize>2.0</FilterKernelSize>
                <TexelStability>2</TexelStability>
            </Frustum8>
            <NumSpotShadows>6</NumSpotShadows>
            <SpotFilterQuality>1</SpotFilterQuality>
            <AsteroidShadowsEnabled>1</AsteroidShadowsEnabled>
            <FogShadowMapsEnabled>1</FogShadowMapsEnabled>
        </Profile_AsteroidField>


I've also refined the HBAO settings I'm using a bit more, cutting down the distant radius by a third and the power exponent by 5% to reduce some undesirable haloing I've noticed.
XML:
    <HBAO>
        <High>
            <RadiusInMeters>8.4</RadiusInMeters>
            <NearRadiusInMeters>4.2</NearRadiusInMeters>
            <NearDistance>200.0</NearDistance>
            <PowExponent>2.0</PowExponent>
            <Bias>0.4</Bias>
            <BlurSharpness>3.0</BlurSharpness>
        </High>
    </HBAO>

Do note that the GraphicsConfigurationOverride.xml I have attached is mosty provided for reference and is not at all required to benefit from the primary shadow changes. You can use it, but it's tuned heavily to my personal tastes and hardware.

Previously posted instructions should still apply.
 

Attachments

  • GraphicsConfiguration.xml.MorbadCustomShadows3.5.03v5.txt
    73.2 KB · Views: 455
  • GraphicsConfigurationOverride.xml.txt
    1.5 KB · Views: 646
Back
Top Bottom