TUTORIAL // VL/001
How to use VL_BGFX
The basic workflow, from applying the effect to exporting a loop.
00VIDEO
Watch the video
01APPLY
Apply the effect
- Create a solid the size of the composition (Layer›New›Solid).
- Select the solid and apply Effect›Visual Logic›VL_BGFX.
- It starts with three systems (Particles with warp, Lines with streaks, and Aura) flowing from back to front.

NOTEApply it to an unrotated 2D layer (position and scale are taken into account).
02SYSTEMS
Stack systems
- Click “Add System” under the list in Show Systems, then choose Particles, Lines, Aura, Light or Airflow in Type (up to six).
- Select a system in the list to show only its settings. “Delete Selected” removes it.
- Each system has its own Layer Mode (Normal, Add, Screen, Overlay), and depth order is kept.

03CAMERA
Link to the camera
- Add a 3D camera to the composition and the background follows its moves, rotation and zoom.
- Without a camera, it renders through a default camera at the angle of view you set.
TIPDepth of field blurs particles the farther they are from the focus distance.
04CUSTOM LAYER
Particles from any layer
- In a particle system, set Look›Shape to “Custom Layer”.
- Choose the layer to use in Custom Layer (precomposed layers work too).
05MASK TUNNEL
Tunnels in a mask shape
- Draw a mask on the layer with VL_BGFX.
- In a line system, set Line Type to “Shape Tunnel”, Shape Tunnel›Shape to “Mask Shape”, and pick the mask in Mask.
06LOOP
Export a loop
- Turn on Loop and enter Loop Length (frames).
- Render that many frames from the start frame. Played back to back, it flows without a seam.
- Choose a Loop Method.
- Match Speed: rounds each motion to a whole number of cycles per loop (slow motions speed up slightly).
- Crossfade (Keep Speed): keeps the motion as it is and dissolves into the frames before the start at the end of the loop.
- Match Space (Keep Speed): keeps the speed and makes the last frame match the first exactly. Ring and grid spacing is adjusted slightly instead.

TIPTo keep the number of lines with Match Space, make “speed (px/s) × loop length (s)” a whole multiple of the spacing.
NOTEKeyframed parameters, moving cameras and video custom layers do not match at the loop point.
07GPU
Render faster on the GPU
- In File›Project Settings›Video Rendering and Effects, choose “Mercury GPU Acceleration (CUDA)” or “Mercury GPU Acceleration (OpenCL)”.
- Frames with only airflow are GPU-accelerated. To use the GPU alongside other systems, put an airflow-only VL_BGFX on a separate layer.