Version:

Particle Debugging with Console Variables

Particle Debugging with Console Variables

Use the following console variables to monitor and debug particle system issues. For more information, see Using the Console Window.

Particle Console Variables

Console VariableDescriptionValid Values
e_ParticlesActivates drawing of particles.0 = Off 1 = On (default)
e_ParticlesAllowRuntimeLoadAllows loading of dynamic particle effects at runtime.0 = Off 1 = On (default)
e_ParticlesAnimBlendBlends between animated texture frames.0 = Off 1 = On (default) 2 = Force
e_ParticlesAudioToggles audio for particles.0 = Off 1 = On (default)
e_ParticlesCullAgainstOcclusionBufferCulls particles against the occlusion buffer.0 = Off 1 = On (default)
e_ParticlesCullAgainstViewFrustumCulls particles against the view frustum.0 = Off 1 = On (default)
e_ParticlesDebugDisplays the particle counts on the screen. You can also specify the particle debug flags that you want to add or remove. To add or remove a particle debug flag, you can use the Console command line or the .cfg files. Type the console variable followed by the flag and a + or –. For example, if you want to use the m flag to show memory usage, enter the following command: e_ParticlesDebug b+ To remove the m flag, enter the following command: e_ParticlesDebug b- For more information, see Using the Console Window.0 = Hide basic stats. (default) 1 = Show basic stats. m = Show memory usage. r = Show reiteration, rejection, and collision stats. b = Draw bounding boxes and labels and show bounding box stats. x = Show bounding box stats. d = Force dynamic bounds and update for all emitters. c = Disable clipping against water and visible area bounds. z = Freeze the particle system.
e_ParticleDumpMemorAfterMapLoadSpecify a value of 1 to dump particle memory after map load.0 = Off (default) 1 = On
e_ParticlesGIApplies global illumination to appropriate particle effects.0 = Off 1 = On (default) 2 = Force
e_ParticleShadowsNumGSMsNumber of global shadow maps (GSM) used for particle shadows.Default value: 3
e_ParticlesIndexPoolSizeMemory size of index pool between particle and render thread.Default value: 16
e_ParticlesLightMinColorThresholdThreshold for minimum particle light color.Default value: 0
e_ParticlesLightMinRadiusThresholdThreshold of minimum particle light radius.Default value: 0
e_ParticlesLightsAllows a light source to be attached to every particle.0 = Off 1 = Deferred lights
e_ParticlesLightsViewDistRatioSets the view distance ratio for particle lights.Default value: 256
e_ParticlesLodMultiplier to particle count.Default value: 0
e_ParticlesMaxDrawScreenScreen size maximum per particle. Particles that reach this limit fade out, even if the particle does not reach its lifetime.Default value: 256
e_ParticlesMaxScreenFillScreen size maximum of total particles to draw.Default value: 160
e_ParticlesMinDrawAlphaAlpha cutoff for rendering particles.Default value: 0.004
e_ParticlesMinDrawPixelsPixel size minimum per particle. Particles that reach this limit fade out, even if the particle does not reach its lifetime.Default value: 1
e_ParticlesMotionBlurEnables motion blur for particles.0 = Off 1 = On (default) 2 = Force
e_ParticlesObjectCollisionsEnables particle and object collisions for the SimpleCollision parameter. For more information, see Collision Attribute.1 = Against static objects only. 2 = Against dynamic objects also. (default)
e_ParticlesPoolSizeParticle system pool memory size in KB.Default value: 16384
e_ParticlesPreloadEnables preloading of all particle effects at the beginning.Default value: 0
e_ParticlesProfileDisplays particle information on the screen.0 = Off (default) 1 = Always show the statistics about particle pool usage. 2 = Disable the warning message when running out of pool memory.
e_ParticlesQualitySpecifies the quality of particle detail.Default value: 4
e_ParticlesShadowsDisplays shadows on particles.0 = Off 1 = On (default) 2 = Force
e_ParticlesShowMainThreadUpdatesRenders a list of containers not updated by a job and provides details why.Default value: 1
e_ParticlesSoftIntersectRenders appropriate particles with soft intersection.0 = Off 1 = On (default) 2 = Force
e_ParticlesSortQualityMinimum sort quality for new particle insertion.0 = Basic (default) 1 = Better 2 = Best
e_ParticlesThreadEnables particle threading.0 = Off 1 = On (default)
e_ParticlesUseLevelSpecificLibsAllows searching for level-specific version of effects files.0 = Off (default) 1 = On
e_ParticlesVertexPoolSizeMemory size of vertex pool between particle and render thread.Default value: 256
e_SkipParticleOcclusionSkips occlusion testing for particles in the occlusion buffer. The particles may be too small to return reliable results.0 = Off 1 = On (default)
gpu_particle_physicsEnables graphics processing unit (GPU) for physics, if available.0 = Off (default) 1 = On
g_breakage_particles_limitImposes a limit on particles generated during 2D surfaces breaking.Default value: 160
mfx_ParticleImpactThreshImpact thread for particle effects.Default value: 2
r_GPUParticleDepthCubemapResolutionResolution for the cubemaps used by the cubemap depth collision feature for GPU particles.Default value: 256
r_ParticlesAmountGIGlobal illumination (GI) amount for particles without an assigned material.Default value: 0.15
r_ParticlesDebug(Advanced) Evaluates what particles on screen may impact performance. Particles marked in blue are ideal, while particles marked in red or white can impact performance.0 = Off (default) 1 = Display particle screen coverage. Blue = Good Red = Bad 2 = Display particle overdraw. Blue = Good Red = Bad White = Poor
r_ParticlesHalfResEnables or forces the render of particles in a half-resolution buffer.0 = Off (default) 1 = On 1 = Force
r_ParticlesHalfResAmountSpecifies the particle half-resolution buffer to a half or quarter of the screen size.0 = Off (default) 1 = Half of screen size 1 = Quarter of screen size
r_ParticlesHalfResBlendModeSpecifies which particles can be rendered in half resolution.0 = Alpha (default) 1 = Additive
r_ParticlesInstanceVerticesEnables instanced-vertex rendering.0 = Off 1 = On (default)
r_ParticlesRefractionEnables refractive particles.0 = Off 1 = On (default)
r_ParticlesSoftIsecEnables particle soft intersections.0 = Off 1 = On (default)
r_ParticlesTessellationEnables particle tessellation for higher quality lighting (DX11 only).0 = Off 1 = On (default)
r_ParticlesTessellationTriSizeSets the particle tessellation triangle screen space size in pixels (DX11 only).Default value: 16
r_ParticlesVerticePoolSizeMaximum number of particle vertices to support.Default value: 15360
r_ShadowParticlesAnimJitterAmountAmount of animated jittering for particle shadows.Default value: 1
r_ShadowsParticlesJitterAmountAmount of jittering for particle shadows.Default value: 0.5
r_ShadowsParticlesKernelSizeBlurs kernel size for particle shadows. Specify higher values for more blur.0 = Hard edge Default value: 1
r_ShadowsParticleNormalEffectShadow taps on particles affected by normal and intensity (breaks lines and uniformity of shadows).Default value: 1
sys_spec_particlesThe console variable group to apply settings for multiple console variables. Specify a number to switch the group of particle console variables. You can find the group number, the specified console variables, and their values in the sys_spec_Particles.cfg file in the lumberyard_version\dev\Engine\Config\CVarGroups directory. For example, when sys_spec_particles = 1, the console variable uses the settings defined in group 1 in the sys_spec_Particles.cfg file.N/A