local InitializeSettings = function()
local as = gSportsRNA
local settingTable = as:GetTable("Settings")
-- Force LevelOfDetail - 'high', 'medium', 'low', 'superlow'
local levelOfDetail = as:GetString(settingTable, "LevelOfDetail")
if (levelOfDetail == "") then
levelOfDetail = "high"
as:SetString(settingTable, "LevelOfDetail", levelOfDetail)
end
-- levelOfDetail = "low"
-- Set up defaults (high detail)
as:SetInt(settingTable, "DropMipRX3_MipsToDrop", 512) -- number of mips to drop from RX3 textures
as:SetInt(settingTable, "DropMipRX3_MinTexDimension", 512) -- minimum size (here we will ignore the number of mips to drop)
as:SetInt(settingTable, "FlatShadow_ScaleReduction", 3) -- flat shadow dimensions (0 is normal, 1 is half, 2 is quarter, 3 is an eigth)
as:SetInt(settingTable, "FlatShadow_MaxLights", 1) -- max number of lights to allow
as:SetInt(settingTable, "Jumbotron_ScaleReduction", 0) -- jumbotron render scale reduction
as:SetInt(settingTable, "SelfShadow", 0)
as:SetInt(settingTable, "SelfShadow_ScaleReduction", 2) -- selfshadow render scale reduction (0 normal, 1 half, 2 quartered)
as:SetInt(settingTable, "PostFX_RainDrops", 0)
if ( EA_PLATFORM_MAC == true ) then
as:SetInt(settingTable, "PostFX_AutoExp", 0) -- Turn off autoexposure on MAC (This causes it to use simple exposure)
else
as:SetInt(settingTable, "PostFX_AutoExp", 1)
end
as:SetInt(settingTable, "PostFX_Bloom", 1)
as:SetInt(settingTable, "PostFX_DOF", 0)
as:SetInt(settingTable, "PostFX_Rectilinear", 1)
as:SetInt(settingTable, "PostFX_Vignette", 1)
as:SetInt(settingTable, "PostFX_ColorCube", 1)
as:SetInt(settingTable, "PostFX_ColorCubeDepth", 1)
as:SetInt(settingTable, "Grass", 0)
as:SetInt(settingTable, "Cloth", 0)
as:SetFloat(settingTable, "PlayerLodPercentageMultiplier", 1.0)
as:SetInt(settingTable, "PlayerLodMinimum", 0)