A Solution to automatically fades objects blocking the player's view. It’s a plug-and-play tool for all Unity pipelines.Camera Object Fader is a visibility management system intended to solve the problem of camera occlusion in 3D environments automatically. Using optimized, non-allocating physics checks, Camera Object Fader fades in ocluding geometry to a semi-transparent state, allowing the player to always keep track of their character.High-Performance Detection: Uses optimized RaycastNonAlloc and SphereCastNonAlloc physics to detect obstructions without generating garbage (GC)Smooth Fading System: Implements alpha interpolation for smooth transitions, avoiding jarring visual pops when objects appear or disappear.Distance-Based Scaling: Features a dynamic alpha mode where transparency scales based on how close the obstruction is to the camera, creating a more cinematic and natural feel.Multi-Target Support: Can track multiple targets simultaneously; if any object blocks the view to any of the targets, it will trigger the fade.UnityEvent Callbacks: Built-in events for onObstructionStart and onObstructionEnd, allowing you to easily trigger sound effects, UI changes, or other game logic.Automated Workflow: Automatically handles component assignment and material caching, requiring zero manual work for your environment objects.Integrated documentation window and website documentationFlexible Exclusion System:Tag Filtering: Ignore objects based on Unity tags.Object List: Manually exclude specific GameObjects.FaderIgnore Component: A "plug-and-play" component to mark any object as non-fadeable instantly.Assets consist only of demos and scripts.Demo uses only simple objects provided by Unity, so it doesn't increase the asset size.Assets have been tested for Windows builds and also tested in Unity 2022.3.62f




