Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

shader blend documentation with pics of the blend modes?

Discussion in 'Documentation' started by drudiverse, Jul 22, 2014.

  1. drudiverse

    drudiverse

    Joined:
    May 16, 2013
    Posts:
    210
    A convenient extra reference for unity that doest presently exist would be a quick visual lookup chart for the shader blend combinations: ShaderLab syntax: Blending,

    there are about 20 - 72 combinations of this kind:

    Blend SrcAlpha OneMinusSrcAlpha // Alpha blending
    Blend One One // Additive
    Blend OneMinusDstColor One // Soft Additive
    Blend DstColor Zero // Multiplicative
    Blend DstColor SrcColor // 2x Multiplicative

    I know jessy did a tutorial on youtube for blend mode it's great, however it just covers 2-3 modes.

    it would be nice to have a page with a table of illustrations: http://docs.unity3d.com/Manual/SL-Blend.html

    i would be happy to do a page, it would take me some hours, of all the blend modes in tutorial :S
     
    Last edited: Aug 2, 2014
  2. HerrJohr

    HerrJohr

    Joined:
    Oct 21, 2018
    Posts:
    1
    Hey,

    this comes late, but I created a Unity Project with all combinations of the blend modes in it.

    Download it here: https://drive.google.com/open?id=1YYtl0TCoaTGgT-Yj0pC-ajGSKDXQUWkE

    You find the scene here: udemy_shader_tutorial-master\Assets\Scenes\Blend.unity

    All Blend modes are shown by planes:

    Screenshot 000312.png

    Screenshot 000313.png

    All materials and shaders are named by their blend modes:

    Screenshot 000314.png
     
    MaxPirat likes this.