material

Chroma Key Material

  • Exposure: public
  • UE Version: 5.0

narcoleptic_bat

January 8, 2023, 1:35 pm

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v

1 comment

  • narcoleptic_bat

    January 8, 2023, 1:49 pm

    Chroma Key material used to achieve alpha when rendering spout 2 input to objects, named Guest_Mat

    *****\

    • [TextureObject] is a Render Target

    • [VectorParameter] is the RGBA color to use as the chroma key

    • [ScalarParameter]s are just accessor parameters so instances can adjust for the best effect

    *****\

    Values used on my implementation:


    • Chroma (0,0.418,0.0999,1)

    • Alpha Treshold (0.4)

    • Weight Red (1)

    • Weight Blue (1)

    • All others set to 0

    *****\

    /!\ Chroma should be set using the dropper on the desired target.

    *****\

    Material Metadata:


    • Material Domain: Surface

    • Blend Mode: Masked

    • Shading Model: Unlit