Dither - Adaptive Mesh Dither Fade System with Advanced Shader
OccaSoftware
$25.00
(no ratings)
Jump AssetStore
Looking for a huge discount? Get all OccaSoftware assets and tools when you buy the OccaSoftware Bundle.The Adaptive Mesh Dither Fade System is a comprehensive Unity asset that enables dynamic, distance-based dithering effects for 3D meshes. This system automatically fades out objects as they move away from a specified reference point, creating smooth transitions and offering opportunities for performance optimization and unique visual styles.Key Features:Precise distance-based dither fading: Objects progressively fade out using a dithering pattern as they move away from a designated reference point, allowing for seamless transitions.Multi-mesh compatibility: Effortlessly apply consistent fading across objects with multiple submeshes, ensuring uniform effects on complex models.Dual reference point system: Set independent reference points for the dither effect and the object, enabling fine-grained control over fade behavior and supporting various gameplay mechanics.Optimized for performance: Automatically caches and updates materials, ensuring efficient handling of objects with multiple renderers.Complete Shader Graph integration: Includes a fully-featured shader graph utilizing the Lit Master node, supporting color, normal maps, metalness, and other standard PBR properties.Shader Features:Built on the Lit Master node in Shader Graph for full PBR compatibility across Built-In, Universal, and High-Definition Render PipelinesSupports albedo color, normal maps, metallic, and smoothness propertiesSeamlessly integrates dithering effect with standard PBR lightingCustomizable dither pattern and fade parametersHow to Use:Apply the DitherFadeController component to your target object.Assign the "Dither Reference Point" (e.g., camera or specific game object) to determine fade distance.Set the "Object Reference Point" to the object's transform or a child object representing the fade center.Apply the included shader to your object's material and adjust PBR properties as needed.Fine-tune dithering parameters in the shader to achieve desired fade effect.This system allows for the creation of dynamic, visually sophisticated fade effects that respond to object distances in real-time. By combining a flexible C# component with a powerful, PBR-compatible shader, the Adaptive Mesh Dither Fade System offers both visual enhancement and potential performance benefits for your Unity projects.This package includes the following components:C# Scripts:- DitherFadeController.cs: The main component for controlling the dither fade effect on objects.Shader Graph:- DitherFade.shadergraph: A fully-featured shader graph built on the Lit Master node, implementing the dither fade effect.Materials:- DitherFadeMaterial.mat: An example material using the DitherFade shader.Prefabs:- DitherFadeExample.prefab: A sample object set up with the DitherFadeController and material for demonstration.Example Scene:- DitherFadeDemo.unity: A scene showcasing the dither fade effect in action.Documentation:- README.md: Comprehensive guide on setting up and using the system, including shader property explanations and best practices.The shader is optimized for performance and is compatible with both desktop and mobile platforms. It supports all standard PBR properties including albedo, normal mapping, metallic, and smoothness, allowing for seamless integration with existing projects using URP.