Adaptive Camera - Official Documentation

Standalone Unreal Engine 5.8 C++ camera, depth of field, and post-tonemap RDG HLSL plugins by Fractum Software (Win64 and Linux).


Project maintained by fractumsoftware Hosted on GitHub Pages — Theme by mattgraham

Adaptive Camera: Horror - Survival Horror, Bodycam, and VHS Camera FX (UE 5.8)

Fab Title: Adaptive Camera: Horror - First-Person Camera System for Survival Horror
Author: Fractum Software
Support: fractumsoftware@gmail.com
Target Engine: Unreal Engine 5.8 (Win64, Linux - SM5/SM6 desktop renderers)
Camera Perspective: First-Person Only

Blueprint-ready First-Person Only camera modifier, low-light focus hunting DOF, directional jump scare shock springs, accessibility comfort scaling, and post-tonemap HLSL bodycam/VHS shader pass for survival horror, found-footage, and bodycam games in Unreal Engine 5.8.


1. Architecture and Modules

Adaptive Camera: Horror (Plugins/AdaptiveCamera_Horror/) is a standalone C++ plugin with no external plugin or game-module dependencies. It can be installed on its own or alongside the other plugins in the Adaptive Camera suite (Adaptive Camera: Shooter, Adaptive Camera: Action - Adventure, Adaptive Camera: Strategy) in the same project.

Module Type LoadingPhase PlatformAllowList Responsibility
AdaptiveCameraHorror Runtime PostConfigInit Win64, Linux Mounts /Plugin/AdaptiveCamera_Horror (Shaders/AdaptiveCameraHorrorFX.usf), registers r.AdaptiveCameraHorror.Enable / r.AdaptiveCameraHorror.Debug CVars and FAdaptiveCameraHorrorViewExtension, and provides the runtime classes (UAdaptiveCameraHorrorProfileDataAsset, UAdaptiveCameraHorrorCameraModifier, UAdaptiveCameraHorrorComponent, UAdaptiveCameraHorrorAnimNotify, and FAdaptiveCameraHorror* structs). Zero dependencies on UnrealEd, Slate, PropertyEditor, ToolMenus, or CinematicCamera.
AdaptiveCameraHorrorEditor Editor PostEngineInit Win64, Linux Registers FAdaptiveCameraHorrorEditorStyle (AdaptiveCameraHorrorEditorStyle using Resources/Icon128.png and Resources/IconToolbar.svg), the dockable Adaptive Camera: Horror panel (AdaptiveCameraHorrorStudioTab), the Adaptive Camera: Horror toolbar button (AdaptiveCameraHorrorStudioToolbarButton) in LevelEditor.LevelEditorToolBar.PlayToolBar (section AdaptiveCameraHorrorToolbar), Live Preview, A/B Split compare, DataAsset saving (under /Game/), Scene Camera Sync / Revert Viewport (Ctrl+Z for ACineCameraActor plus transient non-saved preview volumes), and Live PIE Tester triggers.

2. Installation and Integration

Perspective Compatibility (First-Person Only): Adaptive Camera: Horror supports First-Person Only camera setups (first-person character, bodycam, and found-footage rigs). Third-person spring-arm or orbit cameras are not supported by this plugin.

Step 1 - Enable the Plugin and Add UAdaptiveCameraHorrorComponent

  1. Copy AdaptiveCamera_Horror/ into <PathToProject>/Plugins/ and enable it under Edit -> Plugins -> Camera -> Adaptive Camera: Horror or in <PathToProject>.uproject:
    "Plugins": [
      { "Name": "AdaptiveCamera_Horror", "Enabled": true }
    ]
    
  2. Open your player ACharacter, APawn, APlayerController, or fixed diegetic ACameraActor Blueprint/C++ class, click Add Component, and add Adaptive Camera: Horror Component (UAdaptiveCameraHorrorComponent).
  3. On local player clients (skipping dedicated servers and remote proxies automatically), the component registers a UAdaptiveCameraHorrorCameraModifier on the player’s APlayerCameraManager during BeginPlay (or once possessed / active ViewTarget for ACameraActor), passively samples owner movement velocity and grounded state each tick for bodycam footstep bob, and unregisters on UnPossess() and EndPlay.

Step 2 - Select, Tune, or Create a UAdaptiveCameraHorrorProfileDataAsset

  1. Included Presets (Content/Presets/ - 6 data assets): Six adaptable Data Assets are included (enable Show Plugin Content in Content Browser settings):
    • /AdaptiveCamera_Horror/Presets/DA_Horror_FoundFootageVHS (Found-Footage VHS)
    • /AdaptiveCamera_Horror/Presets/DA_Horror_BodycamParanormal (Bodycam Paranormal)
    • /AdaptiveCamera_Horror/Presets/DA_Horror_PsychologicalDread (Psychological Horror)
    • /AdaptiveCamera_Horror/Presets/DA_Horror_SurvivalHorror (Survival Horror)
    • /AdaptiveCamera_Horror/Presets/DA_Horror_PursuitPanic (Pursuit Panic)
    • /AdaptiveCamera_Horror/Presets/DA_Horror_AnalogLowLight (Analog Low-Light Camcorder) You can also create new assets via Right-Click -> Miscellaneous -> Data Asset -> AdaptiveCameraHorrorProfileDataAsset or directly from the Studio panel via Save as DataAsset….
  2. Adaptive Camera: Horror Panel: Click Adaptive Camera: Horror in the Level Editor Play toolbar (or open Window / Tools -> Adaptive Camera: Horror, Tab ID AdaptiveCameraHorrorStudioTab):
    • Pick a data asset from the top profile picker, click Switch to Temp Scratch (inside Profile Info) for in-memory editing, or click Save as DataAsset… to export a reusable asset.
    • Load any of the 6 presets from the Apply Base Preset selector (Found-Footage VHS, Bodycam Paranormal, Psychological Horror, Survival Horror, Pursuit Panic, Analog Low-Light Camcorder) and adjust parameters across the 4 feature rack tabs (Movement, Fear and Sanity, Post-Process, Accessibility), where each feature card combines an explicit enable/disable toggle with its dedicated 0% .. 100% intensity slider and full parameter access.
    • Under Editor Viewport Preview, enable Live Preview for instant HLSL feedback in the Level Editor viewport, toggle A/B Split with the divider slider, adjust Tension Spike, Fear, Low-Light Hunt, and VHS Glitch, or use Scene Camera Sync (Apply to Viewport Camera / Revert Viewport Changes) and Revert Viewport (Ctrl+Z supported for ACineCameraActor) using a transient non-saved APostProcessVolume (without modifying level APostProcessVolume actors); under Live PIE Tester, trigger Tension Spike, Jump Scare, VHS Glitch, Threat Dolly Zoom, and Toggle Crouch while running Play-In-Editor.
  3. Assign your profile to UAdaptiveCameraHorrorComponent::DefaultProfile (and set DefaultProfileBlendTime, default 0.25 s).
  4. First-person viewmodel and Low-Light DOF Note: Low-light presets lower f-stop (ApertureFStop / PanicApertureFStop down to 1.4 - 2.6) to emphasize focus hunting. Keep arm and flashlight viewmodel geometry clear of the < 30 cm near-focus zone or adjust ApertureFStop / MinFocusDistance if near-camera geometry softens excessively. DOFSettings.bPreserveSceneExposure (true by default) compensates physical-camera exposure (CameraISO / CameraShutterSpeed) when Dynamic DOF overrides DepthOfFieldFstop in AEM_Manual scenes.

Step 3 - Connect Blueprint Events, Runtime Overrides, Delegates, and Animation Notifies

Call the BlueprintCallable / BlueprintPure functions on UAdaptiveCameraHorrorComponent from your gameplay triggers, darkness volumes, encounters, or stealth systems:

Blueprint / C++ Function Signature and Defaults Gameplay Usage
SetFearLevel (float NewFear01) Normalized fear level (0.0 = calm, 1.0 = panic). Accelerates heart BPM, breathing, handheld drift, focus hunting, stress vignette, and PanicApertureFStop.
SetSanityLevel (float NewSanity01) Normalized sanity level (1.0 = lucid, 0.0 = fractured). Drives SanityFOVDistortion, oscillating Dutch tilt, low-sanity desaturation, and stress vignette.
SetAmbientLightFactor (float LightLevel01) Normalized ambient illumination (1.0 = well lit, 0.0 = pitch dark). Amplifies LowLightHuntingMultiplier and VHS temporal noise in dark areas.
TriggerTensionSpike (float Intensity = 1.0f) Transient tension spike accelerating breathing and pulse, tightening stress vignette, and increasing low-light focus hunting.
TriggerJumpScare (const FVector& ThreatOrigin, float Intensity = 1.0f) Directional camera shock impulse toward/away from ThreatOrigin with damped 2nd-order spring recovery, transient fear spike, and optional VHS burst.
StartThreatDollyZoom / StartThreatDollyZoomAtLocation (AActor* ThreatActor, float Intensity = 1.0f, float BlendInTime = -1.0f) / (const FVector& ThreatLocation, float Intensity = 1.0f, float BlendInTime = -1.0f) Engages threat gaze lock-on and optical dolly zoom (ClaustrophobicCompress or AbyssalStretch; BlendInTime < 0 uses the profile default) with collision-aware framing and look-away auto-break (ThreatGazeAutoBreakAngleDegrees).
TriggerDreadDollyZoomPulse / StopThreatDollyZoom (AActor* ThreatActor, float Duration = 2.0f, float Intensity = 1.0f) / (float BlendOutTime = -1.0f) Fires a timed dolly-zoom pulse toward a threat actor or releases an active threat dolly zoom lock (BlendOutTime < 0 uses the profile default; IsThreatDollyZoomActive, GetThreatDollyZoomAlpha, GetThreatDollyZoomTarget).
SetCrouchState / ClearCrouchStateOverride / IsCrouchedState (bool bNewCrouched) / () / () const -> bool Optional crouch override (also auto-detected on ACharacter) driving crouch and stand-up camera transitions.
TriggerVHSGlitch (float Intensity = 1.0f, float Duration = 0.45f) Temporary burst of horizontal VHS tracking loss, tape tearing, chroma bleed, and temporal noise.
SwitchProfile (UAdaptiveCameraHorrorProfileDataAsset* NewProfile, float BlendTime = -1.0f) Blends between two profiles at runtime (BlendTime < 0 uses DefaultProfileBlendTime).
SetMovementVelocity (const FVector& NewVelocity) Optional manual velocity override (cm/s) for footstep bob when using custom movement without UCharacterMovementComponent.
ClearMovementVelocityOverride () Clears manual velocity override and resumes passive SampleOwnerVelocity() sampling each tick.
SetMovementGrounded (bool bGrounded) Optional manual grounded-state override for footstep bob on custom locomotion rigs.
ClearMovementGroundedOverride () Clears manual grounded-state override and resumes automatic grounded detection.
GetCameraModifier (pure) () const -> UAdaptiveCameraHorrorCameraModifier* Returns the active UAdaptiveCameraHorrorCameraModifier managed by the component (or nullptr).
GetFearLevel / GetEffectiveFearLevel (pure) () const -> float Returns base fear [0..1] or effective fear [0..1] including transient spikes and dolly boost.
GetSanityLevel / GetEffectiveSanityLevel (pure) () const -> float Returns base sanity [0..1] or effective sanity [0..1] including transient sanity drops.
GetAmbientLightFactor / GetCurrentHeartRateBPM (pure) () const -> float Returns current ambient illumination factor [0..1] or smoothed heart rate in BPM.
IsFocusHuntingActive / GetCurrentProfile (pure) () const -> bool / UAdaptiveCameraHorrorProfileDataAsset* Returns whether focus hunting is actively modulating focal distance, or returns the active profile asset.

Runtime Overrides API (Category = "Adaptive Camera|Runtime" on UAdaptiveCameraHorrorComponent and UAdaptiveCameraHorrorCameraModifier): Runtime overrides layer on top of the active profile blend without mutating any UAdaptiveCameraHorrorProfileDataAsset. Overrides cached on UAdaptiveCameraHorrorComponent persist across SwitchProfile(...) transitions and camera modifier re-registration:

Blueprint / C++ Function Signature Behavior
SetMasterIntensityOverride (float NewIntensity01) Replaces profile MasterIntensity with a clamped [0..1] override without mutating the data asset.
ClearMasterIntensityOverride () Clears the MasterIntensity override and restores the blended profile value.
SetRuntimeMasterIntensityScale (float Scale01) Applies a multiplicative [0..1] runtime scalar (default 1.0) on top of effective MasterIntensity.
ClearRuntimeMasterIntensityScale () Resets RuntimeMasterIntensityScale back to 1.0.
GetEffectiveMasterIntensity (pure) () const -> float Returns effective MasterIntensity after override and multiplicative runtime scaling.
GetRuntimeMasterIntensityScale (pure) () const -> float Returns the current multiplicative runtime MasterIntensity scalar [0..1].
HasMasterIntensityOverride (pure) () const -> bool Returns true when a runtime MasterIntensity override is active.
SetAccessibilityOverrides (const FAdaptiveCameraHorrorAccessibilitySettings& NewSettings) Overrides all accessibility comfort fields (MotionIntensityScale, CameraRollScale, ChromaticAberrationScale, bReduceFlashIntensity).
ClearAccessibilityOverrides () Clears all runtime accessibility overrides and restores blended profile values.
SetMotionIntensityScale (float NewScale) Overrides MotionIntensityScale ([0..1]; 0.0 zeroes all involuntary translation, pitch, yaw, stride, turn inertia, and FOV pulse).
SetCameraRollScale (float NewScale) Overrides CameraRollScale ([0..1]; 0.0 zeroes all camera roll, stride roll, turn inertia roll, and Dutch tilt).
SetChromaticAberrationScale (float NewScale) Overrides ChromaticAberrationScale ([0..1]) for the HLSL pass.
SetReduceFlashIntensity (bool bReduce) Overrides bReduceFlashIntensity to attenuate sudden flash, vignette, and VHS glitch bursts.
GetEffectiveAccessibilitySettings (pure) () const -> FAdaptiveCameraHorrorAccessibilitySettings Returns effective accessibility comfort settings after runtime overrides are applied.
HasAccessibilityOverride (pure) () const -> bool Returns true when any runtime accessibility override is active.
SetBypassForCineCamera (bool bBypass) Enables or disables automatic bypass (bBypassForCineCamera, default true) when the active ViewTarget is an ACineCameraActor (Sequencer cutscenes).
GetBypassForCineCamera (pure) () const -> bool Returns true when automatic bypass for ACineCameraActor ViewTargets is enabled.
SetBypassForExternalCameraActors (bool bBypass) Enables or disables automatic bypass (bBypassForExternalCameraActors, default true) when the active ViewTarget is an external ACameraActor (fixed security or cutscene camera).
GetBypassForExternalCameraActors (pure) () const -> bool Returns true when automatic bypass for external ACameraActor ViewTargets is enabled.

BlueprintAssignable Component Delegates (UAdaptiveCameraHorrorComponent):

Animation Notify (UAdaptiveCameraHorrorAnimNotify):


3. Built-In Preset Parameter Summary (6 data assets)

All 6 presets default to Profile.MasterIntensity = 0.65 with each category MasterIntensity = 1.0 (0.0 disables output, 1.0 applies full configured values) and can be applied in C++/Blueprint via UAdaptiveCameraHorrorProfileDataAsset::ApplyPresetValues(EAdaptiveCameraHorrorPresetArchetype) or from the Apply Base Preset menu in Adaptive Camera: Horror.

Parameter Found-Footage VHS Bodycam Paranormal Psychological Horror Survival Horror Pursuit Panic Analog Low-Light Camcorder
BaseFOV (deg) 80.0 105.0 78.0 82.0 92.0 84.0
BaseHeartRateBPM / PanicBPM 74 / 142 78 / 152 62 / 120 68 / 128 94 / 168 70 / 136
HandheldPitch / Roll (deg) 0.34 / 0.44 0.24 / 0.48 0.16 / 0.22 0.16 / 0.22 0.36 / 0.52 0.24 / 0.30
FearTremorAmplitude / Freq (Hz) 0.22 / 7.8 0.26 / 8.6 0.12 / 5.6 0.14 / 6.4 0.32 / 10.5 0.18 / 7.0
StrideVertical (cm) / TurnInertiaMaxLag (deg) 0.78 / 1.3 1.05 / 1.5 0.48 / 0.9 0.62 / 2.2 1.15 / 1.9 0.68 / 1.25
CrouchDown / StandUp Speed (1/s) 5.8 / 3.4 6.2 / 3.8 4.8 / 2.8 4.5 / 2.5 7.8 / 4.8 5.4 / 3.2
LowSanityDutchTiltDegrees / Desat 2.0 / 0.26 1.4 / 0.26 4.2 / 0.42 1.3 / 0.24 2.6 / 0.32 1.8 / 0.30
ThreatDollyZoomDirection Compress Compress AbyssalStretch Compress Compress Compress
ThreatGazeLockStrength / FearBoost 0.80 / 0.38 0.78 / 0.42 0.88 / 0.45 0.42 / 0.28 0.84 / 0.72 0.82 / 0.42
ApertureFStop / PanicFStop 3.2 / 2.0 6.3 / 4.5 2.0 / 1.4 3.5 / 2.4 4.0 / 2.0 2.6 / 1.8
bEnableFocusHunting / LowLightMult true / 2.4 false / 1.3 true / 2.1 true / 1.7 true / 2.0 true / 3.1
bEnableBodycamVHSPass true true false (clean) false (clean) true true
FisheyeBarrelDistortion / Cubic 0.025 / 0.009 0.095 / 0.038 0.0 / 0.0 0.0 / 0.0 0.015 / 0.005 0.020 / 0.006
VHSTemporalNoise / TrackingGlitch 0.24 / 0.14 0.08 / 0.02 0.0 / 0.0 0.0 / 0.0 0.06 / 0.0 0.30 / 0.0
VHSScanline / ChromaticBleed 0.22 / 0.24 0.05 / 0.14 0.0 / 0.0 0.0 / 0.0 0.0 / 0.22 0.02 / 0.04
VHSSensorTint (RGBA) (0.95,0.99,0.88,0.38) (0.90,0.96,0.95,0.30) (1,1,1,0) (1,1,1,0) (0.98,0.94,0.94,0.18) (0.62,1.0,0.78,0.52)

3.1 Accessibility Comfort Scaling (FAdaptiveCameraHorrorAccessibilitySettings)

Parameter Range (ClampMin..Max) Default Effect
MotionIntensityScale 0.0 .. 1.0 1.0 Scales camera translation, pitch, yaw, and FOV pulses (0.0 removes all involuntary motion).
CameraRollScale 0.0 .. 1.0 1.0 Scales camera roll and low-sanity Dutch tilt (0.0 zeroes all roll).
ChromaticAberrationScale 0.0 .. 1.0 1.0 Scales HLSL chromatic aberration and VHS chroma bleed.
bReduceFlashIntensity bool false Attenuates sudden flash, vignette, and VHS tracking spikes during jump scares and bursts.

4. Verification, Building, and Packaging

Automation Tests

Includes 17 built-in C++ automation tests under WITH_DEV_AUTOMATION_TESTS (AdaptiveCamera.Horror.*: 16 runtime tests and 1 Editor Studio test) covering spring convergence, preset blending, accessibility scaling, runtime override persistence, bodycam stride, turn inertia, crouch transitions, threat dolly zoom, first-person flashlight synchronization, framerate-independent auto-break, scene PostProcessVolume exposure/vignette/saturation preservation, synchronous UnPossess() cleanup, HLSL uniform finite sanitization, ACameraActor support, Editor transient preview safety, and preset .uasset parity:

& "<UE_5.8>\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" "<PathToProject>.uproject" `
  -unattended -nop4 -nosplash -RenderOffScreen -d3d12 -rdgimmediate -rdgvalidation `
  "-ExecCmds=Automation RunTests AdaptiveCamera.Horror;Quit" `
  "-TestExit=Automation Test Queue Empty"

Fab Plugin Packaging

Config/FilterPlugin.ini includes /Config/..., /Content/..., /Resources/..., /Shaders/..., /Source/..., and /README.md under [FilterPlugin] so BuildPlugin packages source, icons, presets, and Shaders/AdaptiveCameraHorrorFX.usf without Binaries/ or Intermediate/:

# Ensure LINUX_MULTIARCH_ROOT points to Unreal Engine 5.8's v26_clang-20.1.8-rockylinux8 toolchain when compiling Linux targets
& "<UE_5.8>\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin `
  -Plugin="<PathToProject>\Plugins\AdaptiveCamera_Horror\AdaptiveCamera_Horror.uplugin" `
  -Package="<OutputDir>\AdaptiveCamera_Horror" `
  -TargetPlatforms=Win64+Linux -Rocket -StrictIncludes

5. License and Support