Forum Replies Created

  • Christian Pulfer

    July 14, 2009 at 5:05 pm in reply to: Reflection using expression

    -Apply this to the Reflection layers Position
    -Rename (“LayerName”) to fit the project
    -Then you must invert the “Y” value in the scale
    and apply any Masking and transparency you like.

    x=thisComp.layer(“LayerName”).transform.position[0]
    y=thisComp.layer(“LayerName”).transform.position[1]*-1
    z=thisComp.layer(“LayerName”).transform.position[2];
    [x,y,z]

    Now precomp your floor layer with all it’s lighting and other related layers and stack the two layers (top and reflection layer) above the precomp of the floor.

    You could also think about linking the transparency,
    and/or a blur effect to the “Y” value.

    Here’s another one that we created to include an adjustable horizon plane.

    hor = 600 !//-double the y value of the OG Layer
    X=thisComp.layer(“LayerName”).transform.position[0]
    Y=thisComp.layer(“LayerName”).transform.position[1]-hor
    Z=thisComp.layer(“LayerName”).transform.position[2];
    [X,-Y,Z]

    Good luck!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy