Cloth or fabric mesh (Shader Help?)

Okay guys, I was wondering just now how would I do a cloth mesh/shader in jMonkey engine?

I would guess that it will be some sort of shader?

Does any one have sample code or even a good reference to some shader resource?

i think there was something in JME2, but that was mesh based.
I think @thetoucher used it and adapted it to JME3.

Do you have a reference or url?

@nehon said: i think there was something in JME2, but that was mesh based. I think @thetoucher used it and adapted it to JME3.

I think he did also, but he has no link for you sorry sir.

I’ve got a waving flag animation in my shader tutorial videos, dunno if that helps you.

Yeah I saw that one as well and thought I might use that as a reference, but my GLSL understanding is not that good.
I was just wondering if there weren’t any of the PRO’S here in jME that did that already before…

Ok I finally dug up the link from my chat history
http://hub.jmonkeyengine.org/forum/topic/cloth-and-spring-classes/

It was for JME2, so it may need some adaptation

Thanks.
I would look at that.