I know.. usually the word "shader" just defines the behaviour of a surface relative to a light source. But the definition
Pixel/Vertex Shader goes much further.. For example they use pixelshader to simulate 2d warp effects on a screen or bending Surfaces.. etc.
Im general you probabely could code anything with vertex/pixel shader. Also physical behaviour.
Of course the GPU is not optimzed for such operations
like a PPU would be.. but it works !!
check this PDF...
this is the description of a demo that uses the Shader Model 3
to simulate clothes (softbody dynamics)
http://download.developer.nvidia.com/de ... rGuide.pdfHere a short quote from the PDF
""
What Is This? The sample demonstrates how to use Shader Model 3.0 to simulate and render cloth on the GPU. The cloth vertex positions are computed through several pixel shaders and saved into a texture. A vertex shader then reads these positions using Vertex Texture Fetch (VTF) to render the cloth. More information can be found in Cloth.pdf
""
Just today I came across an interesting article.. Actually
it
NFo/Simviation Multiplayer Server.
fs.netfrag.org:23456
Stats: fs.netfrag.org
Teamspeak: ts.netfrag.org