RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
Client CanvasCaustics PostFXChromatic Lens PostFXClient CoreDepth of Field PostFXEdge AA PostFXPostFx Flash EffectPostFx Fog EffectsPostFx FXAA Anti-AliasingGamma PostFXPostFx Glow EffectShadow Maps InitClient LightingPostFx Light Ray EffectAdvanced Lighting - Light VisualizationPostFx Masked Screen BlurMotion Blur PostFXObjects Required for StartupClient Parse ArgsClient PostFX ManagerRender ManagerAdvanced Lighting - ShadersBasic Lighting - Shadow FilterAdvanced Lighting - Shadow VisualizationPostFx SMAA Anti-AliasingPostFx SSAO (Screen-Space Ambient Occlusion)PostFx Turbulence EffectPostFx Utilities

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE ExtensionsClient

Motion Blur PostFX

Camera-based motion blur post-processing effect using velocity from the prepass buffer.

Camera-based motion blur post-processing effect using velocity from the prepass buffer.


Module Overview

PropertyValue
Sourcelua/ge/client/postFx/MotionBlurFx.lua
Returns- (side-effect module)
DependenciesPFX_DefaultStateBlock

Scene Objects Created

ObjectTypeDescription
PFX_MotionBlurShaderShaderDatamotionBlurP.hlsl shader
MotionBlurFXPostEffectMotion blur effect, renders after diffuse

Globals Set

GlobalTypeDescription
MotionBlurFXCallbackstablesetShaderConsts callback

Callbacks

MotionBlurFXCallbacks.setShaderConsts()

Sets $velocityMultiplier to 3000 on the MotionBlurFX PostEffect.


PostEffect Configuration

PropertyValue
Render TimePFXAfterDiffuse
Enabledfalse (disabled by default)
Texture 0$backbuffer
Texture 1#prepass[RT0] (normals/velocity)
Texture 2#prepass[Depth]
Target$backBuffer

Notes

  • Disabled by default.
  • Velocity multiplier of 3000 controls blur intensity.
  • Reads velocity data from the G-buffer (prepass RT0).

See Also

  • client/postFx - PostFX manager

PostFx Masked Screen Blur

Masked Gaussian screen blur effect using a texture mask to selectively blur screen regions. Uses DOF-style Gaussian blur shaders with a blend pass.

Objects Required for Startup

Creates all GUI control profiles and the default cursor required before any UI can be displayed. This is one of the first modules loaded during engine initialization.

On this page

Module OverviewScene Objects CreatedGlobals SetCallbacksMotionBlurFXCallbacks.setShaderConsts()PostEffect ConfigurationNotesSee Also