A shader for Unity Built-in RP that enables Opaque-mode transparency using dither patterns. Includes Bayer, Ordered, and Alpha dither textures, gradient transparency controls.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 Built-in Render Pipeline, 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 gradientsOrdered Dither – Eight unique high-quality patterns usable for stylized or noise-free transparencyAlpha-Based Dither – Soft circular / square alpha gradients for smooth, visually dense blendingThe 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 2018Unity 2019Unity 2020Unity 2021Unity 2022Unity 2023Unity 6000+ (Unity 6.x).- In Unity 2017 and Unity 5.6, the shader code and sample materials are compatible, but the demo scenes are not.Opaque-mode transparency using dither patternsNo transparency sorting issues. Reduced overdraw compared to Unity's Transparent pipeline.Includes three types of dither patternsBayer Dither Textures (4×4, 8×8, 16×16 included)Ordered Dither Patterns (8 built-in pattern shaders)Alpha-Based Mask Textures (7 included patterns)Advanced Transparency OptionsAdjustable Alpha Cutoff for precise visual controlOptional Dither Scale & Dither OffsetSupports both pixel-accurate patterns and scaled texture modesGradient-controlled transparencyAdjust transparency using World Space or Local SpaceChoose gradient axis: X / Y / ZIndependent Start / End positionsIndependent Start / End alpha cutoff valuesFull Lighting SupportEmissive Mode (toggleable)Specular highlights with customizable shininessWorks in Forward renderingLightweight & Performance-OptimizedIdeal for real-time VFX, mobile games, stylized rendering, and any project needing transparent-looking materials without costly transparency passes.




