Dither Transparent Shader(HDRP)


A shader for Unity HDRP that enables Opaque-mode transparency using dither patterns. Includes Bayer, Ordered, and Alpha dither textures, gradient transparency controls.


by CodeWee


Price History +


Traditional transparency requires Unity's Transparent render queue, which often introduces sorting issues, overdraw costs, and performance bottlenecks.


Dither transparency overcomes these limitations by representing transparency through ordered alpha-cutoff patterns while remaining fully in Opaque rendering mode, improving performance and avoiding sorting problems.


This shader package provides a complete dither-based transparency workflow for the HDRP, with full support for Bayer, Ordered, and Alpha-Based texture patterns.

Each pattern offers its own visual character:

  • Bayer Dither – Classic ordered dithering with predictable distribution and stable gradients
  • Ordered Dither – Eight unique high-quality patterns usable for stylized or noise-free transparency
  • Alpha-Based Dither – Soft circular / square alpha gradients for smooth, visually dense blending

The package includes ready-to-use textures (4×4, 8×8, 16×16 Bayer matrices & 7 Alpha masks), plus 8 Ordered Dither Pattern Shaders.


This shader also features per-axis gradient transparency, allowing you to control alpha cutoff using world-space or local-space coordinates along the X, Y, or Z axis. Additional features like Emissive mode and customizable Specular highlights make it useful for a wide variety of materials, from VFX to stylized rendering.


Supports the following Unity versions:

  • Unity 2021
  • Unity 2022
  • Unity 2023
  • Unity 6000+ (Unity 6.x).