Dither - Adaptive Mesh Dither Fade System with Advanced Shader

$23
Publisher OccaSoftware
File size 312.78kB
Number of files 10
Latest version 1
Latest release date 2024-08-01 11:05:11
First release date 2024-08-01 11:05:11
Supported Unity versions 2018.4.2 or higher

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:

  1. 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.
  2. Multi-mesh compatibility: Effortlessly apply consistent fading across objects with multiple submeshes, ensuring uniform effects on complex models.
  3. 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.
  4. Optimized for performance: Automatically caches and updates materials, ensuring efficient handling of objects with multiple renderers.
  5. 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 Pipelines
  • Supports albedo color, normal maps, metallic, and smoothness properties
  • Seamlessly integrates dithering effect with standard PBR lighting
  • Customizable dither pattern and fade parameters

How to Use:

  1. Apply the DitherFadeController component to your target object.
  2. Assign the "Dither Reference Point" (e.g., camera or specific game object) to determine fade distance.
  3. Set the "Object Reference Point" to the object's transform or a child object representing the fade center.
  4. Apply the included shader to your object's material and adjust PBR properties as needed.
  5. 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.

Top Publisher Assets