Standalone Unreal Engine 5.8 C++ camera, depth of field, and post-tonemap RDG HLSL plugins by Fractum Software (Win64 and Linux).
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.
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.
UAdaptiveCameraHorror*, FAdaptiveCameraHorror*, and EAdaptiveCameraHorror*; primary asset type AdaptiveCameraHorrorProfile.bEnableCrouchCameraMotion), handheld sway and fear tremor, turn inertia, directional jump scare impulse, Threat Gaze Lock-On, and Optical Dolly Zoom (StartThreatDollyZoom, StartThreatDollyZoomAtLocation, TriggerDreadDollyZoomPulse, StopThreatDollyZoom, with collision-aware framing, manual look-away break, and ClaustrophobicCompress / AbyssalStretch modes), stress vignette and low-sanity FOV/Dutch tilt, raycast autofocus with low-light focus hunting, runtime overrides, accessibility scaling, animation notifies, and a post-tonemap HLSL bodycam/VHS shader.MasterIntensity Scaling: The profile asset (UAdaptiveCameraHorrorProfileDataAsset::MasterIntensity, default 0.65) and every category struct (MasterIntensity, default 1.0, range [0.0 .. 1.0]) expose independent intensity scalars, where 0.0 disables output and 1.0 applies full configured values without compounding attenuation.AdaptiveCamera_Horror.uplugin):| 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. |
/Plugin/AdaptiveCamera_Horror):
FAdaptiveCameraHorrorFXPS (Shaders/AdaptiveCameraHorrorFX.usf) runs at EPostProcessingPass::Tonemap via RDG (AddDrawScreenPass).r.AdaptiveCameraHorror.Enable (default 1) toggles the HLSL pass; r.AdaptiveCameraHorror.Debug (default 0) renders a ViewRect-safe telemetry bar showing intensity, glitch/chroma, tape noise, and split-compare divider position.FAdaptiveCameraHorrorViewExtension isolates up to 4 local players across multiple scenes via scene-keyed RuntimeSlots (MaxRuntimeShaderSlots = 16) from the editor viewport preview (EditorPreview) and rejects SceneCaptures, ReflectionCaptures, PlanarReflections, and VirtualTextures. BeginRenderViewFamily snapshots a POD bundle to the Render Thread, and each SubscribeToPostProcessingPass delegate captures its resolved view parameters by value.UVAndScreenPos.xy through Input_UVViewportMin and Input_UVViewportSizeInverse and clamps all sample UVs to [Input_UVViewportBilinearMin, Input_UVViewportBilinearMax] for screen percentage, split-screen, and Movie Render Queue compatibility.VHSSensorTint), and A/B Split Compare (bEnableSplitCompare, SplitComparePosition).Perspective Compatibility (First-Person Only):
Adaptive Camera: Horrorsupports 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.
UAdaptiveCameraHorrorComponentAdaptiveCamera_Horror/ into <PathToProject>/Plugins/ and enable it under Edit -> Plugins -> Camera -> Adaptive Camera: Horror or in <PathToProject>.uproject:
"Plugins": [
{ "Name": "AdaptiveCamera_Horror", "Enabled": true }
]
ACharacter, APawn, APlayerController, or fixed diegetic ACameraActor Blueprint/C++ class, click Add Component, and add Adaptive Camera: Horror Component (UAdaptiveCameraHorrorComponent).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.UAdaptiveCameraHorrorProfileDataAssetContent/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….AdaptiveCameraHorrorStudioTab):
0% .. 100% intensity slider and full parameter access.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.UAdaptiveCameraHorrorComponent::DefaultProfile (and set DefaultProfileBlendTime, default 0.25 s).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.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. |
UAdaptiveCameraHorrorCameraModifier evaluates your scene PostProcessVolume stack and camera post-process settings before writing overrides: stress vignette adds onto BaselinePP.VignetteIntensity without lowering level vignette, ColorSaturation scales multiplicatively against BaselinePP.ColorSaturation once sanity drops (LowSanityDesaturation * SanityLoss > 0), DOFSettings.bPreserveSceneExposure (true by default) preserves effective EV100 under AEM_Manual physical camera exposure, and MovementSettings.bUseIncomingBaseFOV preserves existing camera FOV instead of forcing BaseFOV. Breathing motion, jump-scare springs, and VHS shader timers freeze automatically whenever World->IsPaused() is true. Set bEnableBodycamVHSPass = false, MasterIntensity = 0.0, or r.AdaptiveCameraHorror.Enable 0 to skip the continuous RDG shader pass when analog distortion is not required. The post-tonemap shader targets desktop SDR output (r.HDR.EnableHDROutput 0, SM5/SM6, non-VR). If loading AdaptiveCameraHorrorProfile assets dynamically by FPrimaryAssetId in a packaged Shipping build, register AdaptiveCameraHorrorProfile under Project Settings -> Asset Manager -> Primary Asset Types to Scan.BlueprintAssignable Component Delegates (UAdaptiveCameraHorrorComponent):
OnHeartbeatPulse(float HeartRateBPM) - Broadcast on each cardiac systole cycle synced to the active horror pulse rate.OnJumpScareTriggered(FVector ThreatOrigin, float Intensity) - Broadcast when TriggerJumpScare executes on a local player.OnVHSGlitchTriggered(float Intensity, float Duration) - Broadcast when TriggerVHSGlitch executes on a local player.OnFocusHuntStateChanged(bool bIsHuntingActive) - Broadcast when low-light or panic focus hunting activates or deactivates.OnThreatDollyZoomStateChanged(bool bIsActive, AActor* ThreatActor) - Broadcast when threat gaze lock-on and optical dolly zoom engages or releases.Animation Notify (UAdaptiveCameraHorrorAnimNotify):
NotifyAction (JumpScare, TensionSpike, VHSGlitch), clamped Intensity, Duration, ThreatSocketName, and MaxAffectRadius (0 = owner-only; > 0 = world-radius falloff).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) |
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. |
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"
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
fractumsoftware@gmail.comWin64 and Linux (SM5/SM6 renderers, non-VR, First-Person Only).