Rendering Mode

UNDER CONSTRUCTION:

RenderingMode

  • Similar to a DropDown, , but uses the implicit options “Opaque”, “Cutout”, and “Transparent”.

  • Max of one instance per shader!

  • Requires the shader to have _SrcBlend, _DstBlend, and _ZWrite properties, which must be listed after this property.

  • Requires the Float type.  

    

Example:

_Example ("'Example' {RenderingMode:{Opaque:{}, Cutout:{}, Transparent:{_PropToHide }}}", Float) = 0

_SrcBlend ("__src", Float) = 0

_DstBlend ("__dst", Float) = 0

_ZWrite ("__zw", Float) = 0

_PropToHide ("’Prop To Hide’ {}", Float) = 0