Search Unity

Resolved Outline Effect Custom Pass Wrong Position

Discussion in 'High Definition Render Pipeline' started by l33t_P4j33t, Aug 14, 2021.

  1. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    PositionInputs does not account for changes to vertex data.
    is there any way to get the actual modified vertex data?




     

    Attached Files:

    Last edited: Aug 15, 2021
  2. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    you can recreate your modifications in
    Code (CSharp):
    1. #define HAVE_MESH_MODIFICATION
    2. AttributesMesh ApplyMeshModification(AttributesMesh input, float3 timeParameters)
    3. {
    4.     input.positionOS += float4(0, 0.2f, 0, 0);
    5.     return input;
    6. }