1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
5 #include <CrySystem/ConsoleRegistration.h>
7 #define GetFloatCVar(name) (Cry3DEngineBase::GetCVars())->name
10 struct CVars
: public Cry3DEngineBase
17 #if defined(FEATURE_SVO_GI)
18 void RegisterTICVars();
21 void GetMemoryUsage(ICrySizer
* pSizer
) const
23 pSizer
->AddObject(this, sizeof(*this));
25 //default values used for const cvars
27 enum { e_StatObjValidateDefault
= 0 }; // Validate meshes in all but release builds.
29 enum { e_StatObjValidateDefault
= 1 }; // Validate meshes in all but release builds.
31 #ifdef CONSOLE_CONST_CVAR_MODE
32 enum { e_DisplayMemoryUsageIconDefault
= 0 };
34 enum { e_DisplayMemoryUsageIconDefault
= 1 };
36 #define e_PhysOceanCellDefault (0.f)
37 #if CRY_PLATFORM_DURANGO
38 enum { e_ParticlesSimpleWaterCollisionDefault
= 1 };
39 enum { e_DeformableObjectsDefault
= 0 }; // temporarily disabled until RC issue found
40 enum { e_OcclusionVolumesDefault
= 1 };
41 enum { e_WaterOceanFastpathDefault
= 0 };
42 enum { e_WaterVolumesDefault
= 1 };
43 enum { e_WaterOceanDefault
= 1 };
44 enum { e_LightVolumesDefault
= 1 };
45 enum { e_ShadowsBlendDefault
= 1 };
47 enum { e_DeformableObjectsDefault
= 1 };
48 enum { e_OcclusionVolumesDefault
= 1 };
49 enum { e_WaterOceanDefault
= 1 };
50 enum { e_WaterVolumesDefault
= 1 };
51 enum { e_LightVolumesDefault
= 1 };
54 #define e_DecalsDeferredDynamicMinSizeDefault (0.35f)
55 #define e_DecalsPlacementTestAreaSizeDefault (0.08f)
56 #define e_DecalsPlacementTestMinDepthDefault (0.05f)
57 #define e_StreamPredictionDistanceFarDefault (16.f)
58 #define e_StreamPredictionDistanceNearDefault (0.f)
59 #define e_StreamCgfVisObjPriorityDefault (0.5f)
60 #define e_WindBendingDistRatioDefault (0.5f)
61 #define e_MaxViewDistFullDistCamHeightDefault (1000.f)
62 #define e_CoverageBufferOccludersLodRatioDefault (0.25f)
63 #define e_LodCompMaxSizeDefault (6.f)
64 #define e_MaxViewDistanceDefault (-1.f)
65 #define e_ViewDistCompMaxSizeDefault (64.f)
66 #define e_ViewDistRatioPortalsDefault (60.f)
67 #define e_ParticlesLightsViewDistRatioDefault (256.f)
68 #define e_TerrainOcclusionCullingPrecisionDefault (0.25f)
69 #define e_TerrainOcclusionCullingPrecisionDistRatioDefault (3.f)
70 #define e_TerrainOcclusionCullingStepSizeDeltaDefault (1.05f)
71 #define e_WindDefault (0.1f)
72 #define e_ShadowsCastViewDistRatioLightsDefault (1.f)
73 #define e_DecalsRangeDefault (20.f)
74 #define e_MinMassDistanceCheckRenderMeshCollisionDefault (0.5f)
75 #define e_GsmRangeStepExtendedDefault (8.f)
76 #define e_TerrainDetailMaterialsViewDistXYDefault (2048.f)
77 #define e_SunAngleSnapSecDefault (0.1f)
78 #define e_SunAngleSnapDotDefault (0.999999f)
79 #define e_OcclusionVolumesViewDistRatioDefault (0.05f)
80 #define e_FoliageStiffnessDefault (3.2f)
81 #define e_FoliageBranchesStiffnessDefault (100.f)
82 #define e_FoliageBranchesDampingDefault (10.f)
83 #define e_FoliageBrokenBranchesDampingDefault (15.f)
84 #define e_TerrainTextureLodRatioDefault (1.f)
85 #define e_JointStrengthScaleDefault (1.f)
86 #define e_VolObjShadowStrengthDefault (.4f)
87 #define e_CameraRotationSpeedDefault (0.f)
88 #define e_DecalsDeferredDynamicDepthScaleDefault (4.0f)
89 #define e_TerrainDetailMaterialsViewDistZDefault (128.f)
90 #define e_StreamCgfFastUpdateMaxDistanceDefault (16.f)
91 #define e_StreamPredictionMinFarZoneDistanceDefault (16.f)
92 #define e_StreamPredictionMinReportDistanceDefault (0.75f)
93 #define e_StreamCgfGridUpdateDistanceDefault (0.f)
94 #define e_StreamPredictionAheadDefault (0.5f)
95 #define e_StreamPredictionAheadDebugDefault (0.f)
96 #define e_RenderMeshCollisionToleranceDefault (0.3f)
97 #define e_VegetationSpritesScaleFactorDefault (1.0f)
98 #ifdef DEDICATED_SERVER
99 #define e_RenderDefault (0)
102 #define e_RenderDefault (1)
104 #define e_RenderDefault (gEnv->IsDedicated() ? 0 : 1)
108 int e_PermanentRenderObjects
;
109 int e_TerrainTextureStreamingPoolItemsNum
;
110 int e_ParticlesVertexPoolSize
;
111 int e_ParticlesIndexPoolSize
;
112 int e_ParticlesProfile
;
113 int e_ParticlesProfiler
;
114 ICVar
* e_ParticlesProfilerOutputFolder
;
115 ICVar
* e_ParticlesProfilerOutputName
;
116 int e_ParticlesProfilerCountBudget
;
117 int e_ParticlesProfilerTimingBudget
;
118 int e_ParticlesForceSeed
;
119 float e_VegetationSpritesDistanceRatio
;
121 int e_DecalsAllowGameDecals
;
122 DeclareConstFloatCVar(e_FoliageBrokenBranchesDamping
);
123 float e_ShadowsCastViewDistRatio
;
124 int e_WaterTessellationAmountY
;
125 float e_OnDemandMaxSize
;
126 float e_MaxViewDistSpecLerp
;
127 float e_StreamAutoMipFactorSpeedThreshold
;
128 DeclareConstFloatCVar(e_DecalsDeferredDynamicMinSize
);
129 DeclareConstIntCVar(e_Objects
, 1);
130 float e_ViewDistRatioCustom
;
131 float e_StreamPredictionUpdateTimeSlice
;
132 DeclareConstIntCVar(e_DisplayMemoryUsageIcon
, e_DisplayMemoryUsageIconDefault
);
133 int e_ScreenShotWidth
;
134 int e_ScreenShotDebug
;
135 #if CRY_PLATFORM_WINDOWS
136 int e_ShadowsLodBiasFixed
;
138 DeclareConstIntCVar(e_ShadowsLodBiasFixed
, 0);
140 DeclareConstIntCVar(e_FogVolumes
, 1);
142 DeclareConstIntCVar(e_Render
, e_RenderDefault
);
144 float e_TessellationMaxDistance
;
145 int e_ShadowsTessellateCascades
;
146 DeclareConstIntCVar(e_ShadowsTessellateDLights
, 0);
147 int e_CoverageBufferReproj
;
148 int e_CoverageBufferRastPolyLimit
;
149 int e_CoverageBufferShowOccluder
;
150 float e_ViewDistRatioPortals
;
151 int e_ParticlesLights
;
152 DeclareConstIntCVar(e_ObjFastRegister
, 1);
153 float e_ViewDistRatioLights
;
154 float e_LightIlluminanceThreshold
;
155 DeclareConstIntCVar(e_DebugDraw
, 0);
156 ICVar
* e_DebugDrawFilter
;
157 DeclareConstIntCVar(e_DebugDrawListSize
, 16);
158 DeclareConstIntCVar(e_DebugDrawListBBoxIndex
, 0);
159 float e_DebugDrawMaxDistance
;
160 #if !defined(_RELEASE)
161 const char* e_pStatObjRenderFilterStr
;
162 int e_statObjRenderFilterMode
;
164 DeclareConstIntCVar(e_AutoPrecacheTexturesAndShaders
, 0);
165 int e_StreamPredictionMaxVisAreaRecursion
;
166 float e_StreamPredictionBoxRadius
;
168 int e_VegetationBillboards
;
169 int e_VegetationUseTerrainColor
;
170 float e_VegetationUseTerrainColorDistance
;
171 int e_BrushUseTerrainColor
;
172 int e_DecalsMaxTrisInObject
;
173 DeclareConstFloatCVar(e_OcclusionVolumesViewDistRatio
);
174 DeclareConstFloatCVar(e_SunAngleSnapDot
);
176 float e_DecalsLifeTimeScale
;
177 int e_DecalsForceDeferred
;
178 DeclareConstIntCVar(e_CoverageBufferDebugFreeze
, 0);
179 DeclareConstIntCVar(e_TerrainOcclusionCulling
, 1);
180 int e_PhysProxyTriLimit
;
181 float e_FoliageWindActivationDist
;
182 ICVar
* e_SQTestTextureName
;
184 int e_levelStartupFrameDelay
;
185 float e_SkyUpdateRate
;
186 float e_RecursionViewDistRatio
;
187 DeclareConstIntCVar(e_StreamCgfDebugMinObjSize
, 100);
188 int e_CullVegActivation
;
189 int e_StreamPredictionTexelDensity
;
190 int e_StreamPredictionAlwaysIncludeOutside
;
191 DeclareConstIntCVar(e_DynamicLights
, 1);
192 int e_DynamicLightsFrameIdVisTest
;
193 DeclareConstIntCVar(e_WaterWavesTessellationAmount
, 5);
194 int e_ShadowsLodBiasInvis
;
195 float e_CoverageBufferBias
;
196 int e_DynamicLightsMaxEntityLights
;
197 int e_SQTestMoveSpeed
;
198 float e_StreamAutoMipFactorMax
;
200 int e_StaticInstancing
;
201 int e_StaticInstancingMinInstNum
;
202 int e_RNTmpDataPoolMaxFrames
;
203 int e_DynamicLightsMaxCount
;
204 DeclareConstIntCVar(e_DebugLights
, 0);
205 int e_StreamCgfPoolSize
;
206 DeclareConstIntCVar(e_StatObjPreload
, 1);
207 DeclareConstIntCVar(e_ShadowsDebug
, 0);
208 DeclareConstIntCVar(e_ShadowsCascadesCentered
, 0);
209 DeclareConstIntCVar(e_ShadowsCascadesDebug
, 0);
210 DeclareConstFloatCVar(e_StreamPredictionDistanceNear
);
211 DeclareConstIntCVar(e_TerrainDrawThisSectorOnly
, 0);
212 DeclareConstFloatCVar(e_VegetationSpritesScaleFactor
);
213 float e_ParticlesMaxDrawScreen
;
214 int e_ParticlesAnimBlend
;
215 DeclareConstIntCVar(e_GsmStats
, 0);
216 DeclareConstIntCVar(e_DynamicLightsForceDeferred
, 1);
217 DeclareConstIntCVar(e_Fog
, 1);
220 int e_TerrainAutoGenerateBaseTexture
;
221 float e_TerrainAutoGenerateBaseTextureTiling
;
222 int e_TerrainIntegrateObjectsMaxVertices
;
223 int e_TerrainIntegrateObjectsMaxHeight
;
224 DeclareConstIntCVar(e_SkyBox
, 1);
225 float e_CoverageBufferAABBExpand
;
226 int e_CoverageBufferEarlyOut
;
227 float e_CoverageBufferEarlyOutDelay
;
228 float e_CoverageBufferTerrainExpand
;
229 DeclareConstIntCVar(e_WaterWaves
, 0);
230 int e_GsmCastFromTerrain
;
231 float e_TerrainLodDistanceRatio
;
232 float e_TerrainLodErrorRatio
;
233 int e_StatObjBufferRenderTasks
;
234 DeclareConstIntCVar(e_StreamCgfUpdatePerNodeDistance
, 1);
235 DeclareConstFloatCVar(e_DecalsDeferredDynamicDepthScale
);
236 DeclareConstIntCVar(e_TerrainBBoxes
, 0);
238 DeclareConstIntCVar(e_LightVolumesDebug
, 0);
239 DeclareConstIntCVar(e_Portals
, 1);
240 DeclareConstIntCVar(e_PortalsBlend
, 1);
241 int e_PortalsMaxRecursion
;
242 float e_StreamAutoMipFactorMaxDVD
;
243 DeclareConstIntCVar(e_CameraFreeze
, 0);
244 float e_ParticlesMinDrawPixels
;
245 DeclareConstFloatCVar(e_StreamPredictionAhead
);
246 DeclareConstFloatCVar(e_FoliageBranchesStiffness
);
247 DeclareConstFloatCVar(e_StreamPredictionMinFarZoneDistance
);
249 int e_StreamInstances
;
250 int e_StreamInstancesMaxTasks
;
251 float e_StreamInstancesDistRatio
;
252 int e_CheckOcclusion
;
253 int e_CheckOcclusionOutputQueueSize
;
254 DeclareConstIntCVar(e_WaterVolumes
, e_WaterVolumesDefault
);
255 DeclareConstFloatCVar(e_TerrainOcclusionCullingPrecisionDistRatio
);
256 float e_ScreenShotMapCamHeight
;
257 int e_DeformableObjects
;
258 DeclareConstFloatCVar(e_StreamCgfFastUpdateMaxDistance
);
259 DeclareConstIntCVar(e_DecalsClip
, 1);
260 ICVar
* e_ScreenShotFileFormat
;
262 float e_PhysOceanCell
;
264 DeclareConstFloatCVar(e_WindBendingDistRatio
);
265 float e_WindBendingStrength
;
266 float e_WindBendingAreaStrength
;
268 int e_PhysMinCellSize
;
269 int e_StreamCgfMaxTasksInProgress
;
270 int e_StreamCgfMaxNewTasksPerUpdate
;
271 DeclareConstFloatCVar(e_DecalsPlacementTestAreaSize
);
272 DeclareConstFloatCVar(e_DecalsPlacementTestMinDepth
);
273 DeclareConstFloatCVar(e_CameraRotationSpeed
);
274 float e_ScreenShotMapSizeY
;
275 DeclareConstIntCVar(e_PortalsBigEntitiesFix
, 0);
277 int e_VegetationSprites
;
279 DeclareConstIntCVar(e_ParticlesCullAgainstViewFrustum
, 1);
280 DeclareConstIntCVar(e_ParticlesCullAgainstOcclusionBuffer
, 1);
281 DeclareConstFloatCVar(e_StreamPredictionMinReportDistance
);
282 int e_WaterTessellationSwathWidth
;
283 DeclareConstIntCVar(e_StreamSaveStartupResultsIntoXML
, 0);
285 DeclareConstIntCVar(e_RenderMeshUpdateAsync
, 1);
286 int e_ParticlesPreload
;
287 int e_ParticlesAllowRuntimeLoad
;
288 int e_ParticlesPrecacheAssets
;
289 int e_ParticlesConvertPfx1
;
290 DeclareConstIntCVar(e_ParticlesSerializeNamedFields
, 1);
291 float e_CoverageBufferOccludersViewDistRatio
; // TODO: make use of this cvar
292 int e_DecalsDeferredDynamic
;
293 DeclareConstIntCVar(e_DefaultMaterial
, 0);
295 int e_RenderMeshCollisionLod
;
296 DeclareConstIntCVar(e_PreloadMaterials
, 1);
297 DeclareConstIntCVar(e_ObjStats
, 0);
298 DeclareConstIntCVar(e_TerrainDeformations
, 0);
299 int e_TerrainDetailMaterials
;
300 int e_TerrainDetailMaterialsWeightedBlending
;
301 int e_TerrainBlendingDebug
;
302 DeclareConstIntCVar(e_ShadowsFrustums
, 0);
303 DeclareConstIntCVar(e_OcclusionVolumes
, e_OcclusionVolumesDefault
);
304 int e_TerrainEditPostponeTexturesUpdate
;
305 int e_DecalsDeferredStatic
;
306 DeclareConstIntCVar(e_Roads
, 1);
307 float e_TerrainDetailMaterialsViewDistXY
;
308 int e_ParticlesQuality
;
309 DeclareConstIntCVar(e_DebugDrawShowOnlyCompound
, 0);
310 DeclareConstFloatCVar(e_SunAngleSnapSec
);
311 float e_GsmRangeStep
;
313 int e_ParticlesSoftIntersect
;
314 int e_ParticlesMotionBlur
;
315 int e_ParticlesShadows
;
316 int e_ParticlesAudio
;
317 int e_ParticleShadowsNumGSMs
;
318 float e_FoliageBranchesTimeout
;
319 DeclareConstFloatCVar(e_TerrainOcclusionCullingStepSizeDelta
);
321 float e_LodTransitionTime
;
322 float e_LodFaceAreaTargetSize
;
323 float e_ObjectsTreeNodeMinSize
;
324 float e_ObjectsTreeNodeSizeRatio
;
325 int e_ExecuteRenderAsJobMask
;
326 float e_ObjectsTreeLevelsDebug
;
327 DeclareConstIntCVar(e_CoverageBufferDrawOccluders
, 0);
328 DeclareConstIntCVar(e_ObjectsTreeBBoxes
, 0);
329 DeclareConstIntCVar(e_PrepareDeformableObjectsAtLoadTime
, 0);
330 DeclareConstIntCVar(e_3dEngineTempPoolSize
, 1024);
331 DeclareConstFloatCVar(e_MaxViewDistFullDistCamHeight
);
332 int e_VegetationBending
;
333 DeclareConstFloatCVar(e_StreamPredictionAheadDebug
);
334 float e_ShadowsSlopeBias
;
335 float e_ShadowsAutoBias
;
336 DeclareConstIntCVar(e_GsmDepthBoundsDebug
, 0);
337 DeclareConstIntCVar(e_TimeOfDayDebug
, 0);
338 int e_WaterTessellationAmount
;
340 int e_CoverageBuffer
;
341 int e_ScreenShotQuality
;
342 DeclareConstFloatCVar(e_FoliageBranchesDamping
);
343 int e_levelStartupFrameNum
;
344 DeclareConstIntCVar(e_DecalsPreCreate
, 1);
345 float e_ParticlesLightsViewDistRatio
;
349 int e_ScreenShotMapOrientation
;
350 int e_ScreenShotHeight
;
351 DeclareConstIntCVar(e_VegetationBoneInfo
, 0);
353 DeclareConstFloatCVar(e_MaxViewDistance
);
354 DeclareConstIntCVar(e_AutoPrecacheCameraJumpDist
, 16);
355 DeclareConstIntCVar(e_LodsForceUse
, 1);
357 DeclareConstIntCVar(e_ParticlesDumpMemoryAfterMapLoad
, 0);
358 DeclareConstIntCVar(e_ForceDetailLevelForScreenRes
, 0);
359 DeclareConstIntCVar(e_TerrainTextureStreamingDebug
, 0);
360 DeclareConstIntCVar(e_3dEngineLogAlways
, 0);
361 float e_VegetationMinSize
;
362 DeclareConstIntCVar(e_DecalsHitCache
, 1);
363 DeclareConstIntCVar(e_TerrainOcclusionCullingDebug
, 0);
364 float e_ParticlesLod
;
365 DeclareConstIntCVar(e_BBoxes
, 0);
367 float e_TimeOfDaySpeed
;
369 DeclareConstFloatCVar(e_ViewDistCompMaxSize
);
370 DeclareConstFloatCVar(e_TerrainTextureLodRatio
);
371 float e_ShadowsAdaptScale
;
372 float e_ScreenShotMapSizeX
;
373 int e_ScreenShotMapResolution
;
374 float e_OcclusionCullingViewDistRatio
;
375 int e_WaterOceanBottom
;
376 DeclareConstIntCVar(e_WaterRipplesDebug
, 0);
377 int e_OnDemandPhysics
;
378 float e_ShadowsResScale
;
380 DeclareConstIntCVar(e_StatObjValidate
, e_StatObjValidateDefault
);
381 DeclareConstIntCVar(e_DecalsMaxValidFrames
, 600);
382 DeclareConstIntCVar(e_DecalsMerge
, 0);
383 DeclareConstFloatCVar(e_FoliageStiffness
);
384 int e_SQTestDistance
;
386 float e_StreamAutoMipFactorMin
;
387 DeclareConstIntCVar(e_LodMinTtris
, 300);
389 DeclareConstIntCVar(e_ScissorDebug
, 0);
390 DeclareConstIntCVar(e_StatObjMergeMaxTrisPerDrawCall
, 500);
391 DeclareConstIntCVar(e_DynamicLightsConsistentSortOrder
, 1);
392 DeclareConstIntCVar(e_StreamCgfDebug
, 0);
393 float e_TerrainOcclusionCullingMaxDist
;
394 int e_TerrainMeshInstancingMinLod
;
395 float e_TerrainMeshInstancingShadowLodRatio
;
396 float e_TerrainMeshInstancingShadowBias
;
397 int e_StatObjTessellationMode
;
398 DeclareConstIntCVar(e_OcclusionLazyHideFrames
, 0);
399 int e_CoverageBufferCullIndividualBrushesMaxNodeSize
;
400 DeclareConstFloatCVar(e_TerrainOcclusionCullingPrecision
);
401 float e_RenderMeshCollisionTolerance
;
402 int e_ShadowsCacheUpdate
;
403 int e_ShadowsCacheExtendLastCascade
;
404 int e_ShadowsCacheMaxNodesPerFrame
;
405 int e_ShadowsCacheObjectLod
;
406 int e_ShadowsCacheRenderCharacters
;
407 int e_ShadowsCacheJobs
;
408 int e_ShadowsPerObject
;
409 int e_DynamicDistanceShadows
;
410 float e_ShadowsPerObjectResolutionScale
;
411 int e_ObjShadowCastSpec
;
412 DeclareConstFloatCVar(e_JointStrengthScale
);
413 float e_DecalsNeighborMaxLifeTime
;
414 DeclareConstFloatCVar(e_StreamCgfVisObjPriority
);
415 int e_ObjectLayersActivation
;
416 float e_VegetationSpritesDistanceCustomRatioMin
;
417 float e_LodTransitionSpriteDistRatio
;
418 float e_LodTransitionSpriteMinDist
;
419 int e_WaterTessellationAmountX
;
420 int e_ScreenShotMinSlices
;
421 int e_DecalsMaxUpdatesPerFrame
;
424 DeclareConstIntCVar(e_AutoPrecacheCgf
, 1);
425 DeclareConstIntCVar(e_HwOcclusionCullingWater
, 1);
426 DeclareConstIntCVar(e_DeferredPhysicsEvents
, 1);
427 float e_ParticlesMinDrawAlpha
;
428 float e_ShadowsCastViewDistRatioLights
;
429 int e_ShadowsUpdateViewDistRatio
;
431 DeclareConstIntCVar(e_LodFaceArea
, 1);
432 float e_ShadowsConstBias
;
433 int e_ParticlesCollisions
;
434 int e_ParticlesObjectCollisions
;
435 int e_ParticlesMinPhysicsDynamicBounds
;
436 int e_ParticlesSortQuality
;
437 DeclareConstIntCVar(e_Ropes
, 1);
438 int e_ShadowsPoolSize
;
439 int e_ShadowsMaxTexRes
;
441 DeclareConstFloatCVar(e_MinMassDistanceCheckRenderMeshCollision
);
443 float e_ScreenShotMapCenterY
;
444 int e_CacheNearestCubePicking
;
445 DeclareConstIntCVar(e_CoverCgfDebug
, 0);
446 DeclareConstFloatCVar(e_StreamCgfGridUpdateDistance
);
447 DeclareConstFloatCVar(e_LodCompMaxSize
);
448 float e_ViewDistRatioDetail
;
449 DeclareConstIntCVar(e_TerrainDetailMaterialsDebug
, 0);
450 DeclareConstIntCVar(e_TerrainOcclusionCullingStepSize
, 4);
454 int e_ShadowsBlendCascades
;
455 float e_ShadowsBlendCascadesVal
;
456 float e_ParticlesMaxScreenFill
;
457 DeclareConstIntCVar(e_DebugDrawShowOnlyLod
, -1);
458 DeclareConstIntCVar(e_ScreenShot
, 0);
459 DeclareConstIntCVar(e_PrecacheLevel
, 0);
460 float e_ScreenShotMapCenterX
;
461 DeclareConstIntCVar(e_CoverageBufferDebug
, 0);
462 DeclareConstIntCVar(e_StatObjMerge
, 1);
463 DeclareConstIntCVar(e_StatObjStoreMesh
, 0);
464 ICVar
* e_StreamCgfDebugFilter
;
465 float e_VegetationSpritesMinDistance
;
466 float e_TerrainDetailMaterialsViewDistZ
;
467 DeclareConstFloatCVar(e_VolObjShadowStrength
);
468 DeclareConstIntCVar(e_ParticlesDebug
, 0);
469 DeclareConstIntCVar(e_WaterOcean
, e_WaterOceanDefault
);
470 float e_ViewDistRatio
;
471 float e_ViewDistRatioVegetation
;
472 ICVar
* e_AutoViewDistRatio
;
473 float e_ViewDistRatioModifierGameDecals
;
474 DeclareConstIntCVar(e_ObjectLayersActivationPhysics
, 1);
475 DeclareConstIntCVar(e_StreamCgfDebugHeatMap
, 0);
476 DeclareConstFloatCVar(e_StreamPredictionDistanceFar
);
477 DeclareConstIntCVar(e_VegetationSpritesBatching
, 1);
478 DeclareConstIntCVar(e_CoverageBufferTerrain
, 0);
479 int e_ParticlesThread
;
480 int e_SQTestExitOnFinish
;
481 DeclareConstIntCVar(e_TerrainOcclusionCullingMaxSteps
, 50);
482 int e_ParticlesUseLevelSpecificLibs
;
483 int e_DecalsOverlapping
;
484 float e_DecalsSpawnDistRatio
;
485 int e_CGFMaxFileSize
;
488 #if !defined(_RELEASE)
489 int e_MergedMeshesClusterVisualization
;
490 int e_MergedMeshesClusterVisualizationDimension
;
493 // ProcVegetation cvars
494 int e_ProcVegetation
;
495 int e_ProcVegetationMaxSectorsInCache
;
496 int e_ProcVegetationMaxCacheLevels
;
497 int e_ProcVegetationMaxViewDistance
;
498 int e_ProcVegetationMaxObjectsPerSector
;
499 int e_AutoPrecacheTerrainAndProcVeget
;
503 int e_MergedMeshesDebug
;
504 int e_MergedMeshesPool
;
505 int e_MergedMeshesPoolSpines
;
506 int e_MergedMeshesTesselationSupport
;
507 float e_MergedMeshesViewDistRatio
;
508 float e_MergedMeshesLodRatio
;
509 float e_MergedMeshesInstanceDist
;
510 float e_MergedMeshesActiveDist
;
511 float e_MergedMeshesDeformViewDistMod
;
512 int e_MergedMeshesUseSpines
;
513 float e_MergedMeshesBulletSpeedFactor
;
514 float e_MergedMeshesBulletScale
;
515 float e_MergedMeshesBulletLifetime
;
516 int e_MergedMeshesOutdoorOnly
;
517 int e_MergedMeshesMaxTriangles
;
518 int e_CheckOctreeObjectsBoxSize
;
519 DeclareConstIntCVar(e_GeomCacheEnabled
, 1);
520 DeclareConstIntCVar(e_GeomCaches
, 1);
521 int e_GeomCacheBufferSize
;
522 int e_GeomCacheMaxPlaybackFromMemorySize
;
523 int e_GeomCachePreferredDiskRequestSize
;
524 float e_GeomCacheMinBufferAheadTime
;
525 float e_GeomCacheMaxBufferAheadTime
;
526 float e_GeomCacheDecodeAheadTime
;
527 DeclareConstIntCVar(e_GeomCacheDebug
, 0);
528 ICVar
* e_GeomCacheDebugFilter
;
529 DeclareConstIntCVar(e_GeomCacheDebugDrawMode
, 0);
530 DeclareConstIntCVar(e_GeomCacheLerpBetweenFrames
, 1);
532 #if defined(FEATURE_SVO_GI)
533 #include "SVO/SceneTreeCVars.inl" // include SVO related variables