28 lines
1.0 KiB
Ucode
28 lines
1.0 KiB
Ucode
//=============================================================================
|
|
// KFGFxOptionsMenu_Graphics_DX10
|
|
//=============================================================================
|
|
// Graphics menu with DX11 only features hidden
|
|
//=============================================================================
|
|
// Killing Floor 2
|
|
// Copyright (C) 2015 Tripwire Interactive LLC
|
|
// - Sakib Saikia 1/30/2015
|
|
//=============================================================================
|
|
|
|
class KFGFxOptionsMenu_Graphics_DX10 extends KFGFxOptionsMenu_Graphics;
|
|
|
|
var localized array<string> AmbientOcclusionStringOptions_DX10;
|
|
|
|
// Overridden to remove HBAO+ option
|
|
function SetAmbientOcclusionOptions(out GFxObject LocalizedObject)
|
|
{
|
|
LocalizedObject.SetObject("ambientOcclusionOptions", MakeDataProvider(AmbientOcclusionStringOptions_DX10));
|
|
}
|
|
|
|
|
|
defaultproperties
|
|
{
|
|
AmbientOcclusionPresets.Empty
|
|
AmbientOcclusionPresets(0)={(AmbientOcclusion=False, HBAO=False)}
|
|
AmbientOcclusionPresets(1)={(AmbientOcclusion=True, HBAO=False)}
|
|
}
|