Integration: ProFlares

Table of Contents

ProFlares (Ultimate Lens Flares for Unity3D) is a third-party asset that provides high-quality, GPU-accelerated lens flare effects. The RCCP ProFlares integration replaces Unity's built-in lens flares on vehicle lights with ProFlares components, producing more realistic and performant headlight and taillight flare effects.


Overview

RCCP vehicles use RCCP_Light components for headlights, taillights, brake lights, reverse lights, and indicators. By default, these lights can use Unity's built-in lens flare system. The ProFlares integration package adds ProFlares-compatible flare components to these lights, giving you access to ProFlares' advanced features:


Prerequisites

  1. ProFlares installed in your project. Purchase and import from the Unity Asset Store.
  2. Realistic Car Controller Pro installed and working with at least one vehicle that has RCCP_Light components.

Installing

Step 1: Import ProFlares

If ProFlares is not already in your project, purchase and import it from the Asset Store.

Step 2: Import the RCCP Integration Package

  1. Open the RCCP Welcome Window: Tools > BoneCracker Games > Realistic Car Controller Pro > Welcome Window.
  2. Navigate to the Addons tab.
  3. Under ProFlares, you will see two buttons:
  1. Click Import ProFlares Integration.
  2. Unity imports RCCP_ProFlareIntegration.unitypackage from Addons/Installers/.
  3. Wait for Unity to recompile.

The installer package is located at:


Assets/Realistic Car Controller Pro/Addons/Installers/RCCP_ProFlareIntegration.unitypackage

How It Works

The integration package adds ProFlares lens flare components to RCCP vehicle light setups. When ProFlares is installed and the integration is imported:


Configuration

After importing the integration, you can configure ProFlares settings on each vehicle light:

Flare Intensity

ProFlares flare elements have their own intensity controls. These should be tuned per-light to match the visual style of your project. Brighter headlights typically use higher flare intensity, while indicators and brake lights use lower values.

Flare Color

ProFlares supports per-element color. Match the flare color to the light color:

Light TypeTypical Flare Color
Headlights (low beam)Warm white / light yellow
Headlights (high beam)Bright white
TaillightsRed
Brake lightsBright red
Reverse lightsWhite
IndicatorsOrange / amber

Flare Elements

ProFlares compositions can include multiple elements (ghosts, halos, streaks). For vehicle lights, a simple configuration with 1-3 elements (primary flare + subtle ghost) usually looks best. Overly complex flare setups can look unrealistic for automotive lighting.

Occlusion

ProFlares performs its own occlusion checks. Ensure that:


Benefits Over Built-in Lens Flares

FeatureUnity Built-inProFlares
PerformanceCPU-based, can be expensive with many lightsGPU-accelerated, scales better
Visual qualityBasic single-element flaresMulti-element compositions with animations
CustomizationLimited (brightness, color, flare texture)Full per-element control (color, size, offset, rotation, animation)
OcclusionBasic raycastSmooth fade with configurable speed
Render pipelineBuilt-in only (deprecated in URP/HDRP)All pipelines supported

Common Issues

Flares not showing

Flares appear on wrong lights

Performance issues with many vehicles

Flares persist when lights are off


Removing the Integration

Since the ProFlares integration does not use an automatically managed scripting symbol like the Photon or Mirror integrations, removal is straightforward:

  1. Delete the ProFlares integration files from the Addons/Installed/ folder (if any were installed there).
  2. If the integration added any components to your vehicle prefabs, remove those components manually.
  3. The vehicle lights will revert to using Unity's built-in lens flare system (or no flares if none are configured).

See Also


Support: bonecrackergames@gmail.com | www.bonecrackergames.com

Need help? See Troubleshooting