the weight map will pin the flag where ever the map is black (remember its mapped to verts so the rez is pretty coarse) setting the "pinned" areas with
any kind of precision is a trial and error affair. I think this kind of approach could be used for a generic cloth scene obj.
an additional flag texture
Last edited by Klunk on Sun Oct 30, 2011 6:01 pm, edited 1 time in total.
I'm sorry to say I've no idea what a side by side configuation is the shader part is for lighting only as irrlicht doesn't support the kind of material needed for this kind of thing.
I neither have a clue what the side-by-side config is
Also nice litte perlin Wind generator and lighting shader is definetly reusable for all kinds of cloth objects and obviously if you rotate this you can make towels on a line!