Recuerda que son dos tipos de capas,
// Fast Blur with control layer
// Applied to Blurriness parameter
// Point1 is current layer, point2 is control layer
point1=this_layer.position;
point2=this_comp.layer("nombredelacapa"position;
// Find the vector between the 2 points
delta=sub(point1, point2);
// Now find the length
distance=length(delta);
//Use linear() to remap distance to range of 40 to 0
linear(distance, 0, 80, [250,250], [75,75]);
// Applied to Blurriness parameter
// Point1 is current layer, point2 is control layer
point1=this_layer.position;
point2=this_comp.layer("nombredelacapa"position;
// Find the vector between the 2 points
delta=sub(point1, point2);
// Now find the length
distance=length(delta);
//Use linear() to remap distance to range of 40 to 0
linear(distance, 0, 80, [250,250], [75,75]);
Comentarios
Publicar un comentario