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
| Property | Value |
|---|---|
| Source | lua/ge/client/postFx/MotionBlurFx.lua |
| Returns | - (side-effect module) |
| Dependencies | PFX_DefaultStateBlock |
Scene Objects Created
| Object | Type | Description |
|---|---|---|
PFX_MotionBlurShader | ShaderData | motionBlurP.hlsl shader |
MotionBlurFX | PostEffect | Motion blur effect, renders after diffuse |
Globals Set
| Global | Type | Description |
|---|---|---|
MotionBlurFXCallbacks | table | setShaderConsts callback |
Callbacks
MotionBlurFXCallbacks.setShaderConsts()
Sets $velocityMultiplier to 3000 on the MotionBlurFX PostEffect.
PostEffect Configuration
| Property | Value |
|---|---|
| Render Time | PFXAfterDiffuse |
| Enabled | false (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.