Bug in project settings

There is bug at shadow culling property. It’s points to MinScreenRadiusForDepthPrepass instead of right one.

There is the code from master branch.

UPROPERTY(config, EditAnywhere, Category=Culling, meta=(
	ConsoleVariable="r.MinScreenRadiusForDepthPrepass",DisplayName="Min Screen Radius for Cascaded Shadow Maps",
	ToolTip="Screen radius at which objects are culled for cascaded shadow map depth passes. Larger values can improve performance but can cause artifacts as objects stop casting shadows."))
	float MinScreenRadiusForCSMdepth;

I think it should be r.Shadow.RadiusThreshold instead.

Edit: The bug is in this fle.

Updated original question to contain link.


Thank you for reporting this. It looks like you know what the problem is exactly and how to fix it. In this situation, I suggest making a Pull Request on GitHub so that it can be reviewed and added if it will fix the issue. You can find our GitHub directory here.

Have a nice day!