All Projects → gkjohnson → Unity Dithered Transparency Shader

gkjohnson / Unity Dithered Transparency Shader

Licence: mit
Unity material and shader for applying clipped, dithered transparency

Projects that are alternatives of or similar to Unity Dithered Transparency Shader

3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+6622.99%)
Mutual labels:  unity, unity3d, graphics, 3d, shaders
Smo Shaders
A collection of shaders to replicate those used in Super Mario Odyssey's Snapshot Mode.
Stars: ✭ 97 (-44.25%)
Mutual labels:  unity, unity3d, graphics, shaders, shaderlab
Alloy
Alloy physical shader framework for Unity.
Stars: ✭ 244 (+40.23%)
Mutual labels:  unity, unity3d, graphics, shaders, shaderlab
Rcam
Real time volumetric video capture for live visuals
Stars: ✭ 128 (-26.44%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-1.15%)
Mutual labels:  unity, unity3d, shaders, shaderlab
X Postprocessing Library
Unity Post Processing Stack Library | Unity引擎的高品质后处理库
Stars: ✭ 1,079 (+520.11%)
Mutual labels:  unity, unity3d, rendering, shaderlab
3dxrayshader unity
Surface shader. Clips a Model with given plane , applies fresnel on clipped part and highlights the cross section.
Stars: ✭ 73 (-58.05%)
Mutual labels:  unity, unity3d, shaders, shaderlab
Tinyrenderer
A brief computer graphics / rendering course
Stars: ✭ 11,776 (+6667.82%)
Mutual labels:  graphics, 3d, shaders, rendering
Gltfast
glTF runtime loading library for Unity
Stars: ✭ 156 (-10.34%)
Mutual labels:  unity, unity3d, graphics, 3d
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-2.3%)
Mutual labels:  unity, unity3d, graphics, shaders
Renderer
A shader-based software renderer written from scratch in C89
Stars: ✭ 1,366 (+685.06%)
Mutual labels:  graphics, 3d, shaders, rendering
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-77.59%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Testbedhdrp
Testbed project for Unity HDRP (High Definition Render Pipeline)
Stars: ✭ 859 (+393.68%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-67.24%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Radialprogressbar
Customizable radial progress bar shader for Unity3D. Allows you to set arc range, minimum and maximum colors, textures, radius, and a few more things. Create HP Bars, Speedometers, rank progress, etc!
Stars: ✭ 714 (+310.34%)
Mutual labels:  unity, unity3d, graphics, shaders
Hologramshader
✏️ Test of an hologram material made in Unity.
Stars: ✭ 684 (+293.1%)
Mutual labels:  unity, unity3d, graphics, shaders
Tinykaboom
A brief computer graphics / rendering course
Stars: ✭ 2,077 (+1093.68%)
Mutual labels:  graphics, 3d, shaders, rendering
Unitypcss
Nvidia's PCSS soft shadow algorithm implemented in Unity
Stars: ✭ 533 (+206.32%)
Mutual labels:  unity, unity3d, graphics, shaderlab
Unity Shaders
A bunch of shader examples created in Unity (ShaderGraph & Built-in) 🧙✨
Stars: ✭ 564 (+224.14%)
Mutual labels:  unity3d, graphics, shaders, shaderlab
Temporalreprojectionexample
Temporal reprojection example for Unity
Stars: ✭ 82 (-52.87%)
Mutual labels:  unity, unity3d, graphics, shaderlab

unity-dithered-transparency-shader

example

Unity shader to enable a dithered transparency when rendering transparent objects

Use

Uses the material's alpha to determine whether a pixel should be discarded or not. Either a dither matrix or dither texture can be used.

Dither Options

Dither Texture

Texture defining the dither pattern. The "red" channel is used from the texture to compare against the materials alpha.

Dither Scale

The scale of the dither texture in screen-space pixels.

Extending and Reuse

The functions for performing the dither effect are available in the Dither Functions.cginc so they can easily be added to and used with other shaders and functions.

In Visual Shader Builders

Amplify Shader Editor

ShaderForge

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].