Vertex Displacement, Locking specific vertices


When doing vertex displacement via GLSL, is it possible to type in the numbers of certain vertices, and have them locked in position, so only the vertices around them is displaced?



My recommendation to do this is to have a mask image of size (number of verts) x 1, and use that as a mask to multiply the displacement values from within the shader. Lots of other fun extensions to displacement are possible with this general technique - the power of custom attributes without the really slow performance of sops.