Change default shadows update rate at far plane to be 1 to prevent artifacts
Users can tweak this down manually when optimizing game (dynamic games might stay at 1)
This commit is contained in:
@@ -174,7 +174,7 @@ public:
|
||||
/// Frequency of shadow updates at the maximum distance from the view at which shadows are still rendered. This value is multiplied by ShadowsUpdateRate and allows scaling the update rate in-between the shadow range. For example, if light is near view, it will get normal shadow updates but will reduce this rate when far from view. See ShadowsUpdateRate to learn more.
|
||||
/// </summary>
|
||||
API_FIELD(Attributes="EditorOrder(105), EditorDisplay(\"Shadow\", \"Update Rate At Distance\"), Limit(0.0f, 1.0f)")
|
||||
float ShadowsUpdateRateAtDistance = 0.5f;
|
||||
float ShadowsUpdateRateAtDistance = 1.0f;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the resolution of the shadow map texture used to draw objects projection from light-point-of-view. Higher values increase shadow quality at cost of performance.
|
||||
|
||||
Reference in New Issue
Block a user