Search Unity

Custom output node

Discussion in 'Visual Effect Graph' started by davesmeathers, Jul 12, 2021.

  1. davesmeathers

    davesmeathers

    Joined:
    Aug 18, 2015
    Posts:
    7
    I've created a custom output node that works great when the VFX graph window is open, but has compile errors when it's closed because the properties I've added are missing in the generated shader.

    The output node is a copy of VFXPlanarPrimitiveOutput.cs that uses a different template, and I'm adding the properties like this:

    VFXGraphProperties.png
    This is Unity 2021.1.0f1 using a custom SRP and Visual Effect Graph 11.0.0