Blend/lerp attributes Categories: Houdini, Vex

How to Blend Attributes / UVs in Houdini

A simple Snippet to blend/lerp attributes from second input of an Attribute Wrangle with the first/main input.

Code: Blend UVs

Use this code in a Point Wrangle.
Create UVs and a UV Edit Node. Assign original UVs to first input and the edited UVs as second input.
Set Run Over to Vertices, if you have vertex uvs.

// Set run over to type with the attribute
@uv = lerp(@uv,v@opinput1_uv,chf("blend"));