Hey Petras,
reusing that I did something moving a texture on a sphere.
Not very good programming, but up to you to use it for your need.
//Draw all meshes in this method.
public override void DrawViewportMeshes(IGH_PreviewArgs args)
{
Mesh mesh = Mesh.CreateFromBrep(brep);
mesh[0].SetTextureCoordinates(tm, Transform.Identity, true);
args.Display.DrawMeshShaded(mesh[0], new Rhino.Display.DisplayMaterial(material));
}
custom-display-with_texture_movement.gh (10.4 KB)