Build # 18083360 Dynamic Shadow from Directional Light

I dunno what happen, but the new shadows just look horrendus, and light is missing shaprness setting, and Self-Shadow Accuracy (both were very useful).

The shadows are very blurred, the transition between cascades is very harash, and self shadow accuracy is not good enough. Settings are irrevelant (no matter what I set it looks bad). I can’t get nicely but subtle blurred shadows with smooth transition between cascades.
I hope it is just transition to some awsome new shadows rendering (;.

But if someone intersted I’m using 10 (!) cascades. On lower number I can’t even tell what is the object that cast shadow, because it look like dark blob.

Edit:
Setting:

r.Shadow.MaxResolution 2048

r.Shadow.Method 0

r.ShadowQuality 3 (this one is strange, it doesn’t really had effect until I started randomly swtiching between 1 and 5).

Somwhat makes them look better.

The “Self-Shadow Accuracy” functionality is now on is on “Shadow Bias” - it works slightly different so we renamed it. “Self-Shadow Accuracy” we go away once all lights use the new “Shadow Bias”.

The shadows are very blurred, the transition between cascades is very harash
The transition can be tweaked by the light “CascadeTransitionFraction” property.

But if someone intersted I’m using 10 (!) cascades

Expected values are in the 1…6 range
The are more settings in the ini and some cvars to tweak the quality further.

Note that the cascades are spread over the “shadow distance” range - smaller numbers improve the quality without many cascades.

Tweaking shadow parameters is tricky, many settings are interconnected - we want to improve on that.

Try creating a new light as settings from a light that was tweaked for the old method might look bad.
We will to improve the quality futher in the future.