
High-quality, customizable Chromatic Aberration effect for Built-In Render Pipeline. Clean visuals, optimized performance, and full control over intensity, direction, blending, and masking.Better Chromatic Aberration is a high-quality, performance-optimized screen effect that brings cinematic color fringing and distortion to your Unity projects. Whether you're going for a subtle artistic tone or an aggressive glitchy style, this asset gives you full creative control.No fluff just clean, customizable results.Supported Render Pipelines:✅ Standard/Built-In❌ Universal❌ HdrpFor a list of features, see Technical Details🎯 Core Features🎨 Multiple Aberration ModesSupports 4 unique chromatic aberration styles:🟢 Simple – Basic horizontal RGB channel separation.🔵 Radial – Aberration intensity increases outward from a center point.🔴 Directional – Applies RGB split in a customizable direction.🎞️ Classic Film – Emulates old film-style distortion and color fringing.🧠 Smart Falloff CalculationSmooth falloff based on distance from screen center (or custom radial center).Uses smoothstep for natural transition in effect strength.⚙️ Settings and Parameters✅ enabledToggles chromatic aberration on or off.🌈 intensity (0–10)Global strength multiplier for the entire effect.🟢 Simple Mode Parameters⚪ simpleOffset (0–1)Amount of RGB shift horizontally (red right, blue left).🔵 Radial Mode Parameters📍 radialStrength (0–5)Controls the radial intensity from the defined center.🎯 radialCenter (Vector2)UV position (0–1) where the radial effect originates.🔴 Directional Mode Parameters↗️ directionalAngle (0–360)Angle (in degrees) for RGB shift direction.📏 directionalStrength (0–5)Magnitude of RGB offset along the directional vector.🎞️ Classic Film Mode Parameters🌀 filmDistortion (0–1)Distorts the UVs outward from the center like analog lens artifacts.🌪️ filmFringe (0–1)Adds color fringing by offsetting red/blue channels from distorted UVs.💻 Shader Info🧱 Shader Name: Hidden/EnhancedPostProcessing🚫 Render State: ZWrite Off, Cull Off, ZTest Always (typical for full-screen post-processing).🎨 Main Texture: _MainTex (input from camera).🧩 Integration🧷 Component: BetterChromaticAberrationAttach to any camera.Executes via OnRenderImage for full-screen effect.🧪 Shader: Auto-assigned if not manually linked via Shader.Find.🚀 Performance Considerations💤 Automatically skips rendering if:Effect is disabledintensity <= 0Shader is missing or unsupported🧼 Cleans up material on OnDisable using DestroyImmediate.