This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.


misc compute shader dx11 physics
Credits: vux



This is the patch, the entry installation of NODE15 was based on.
The cloth simulation runs in a single compute shader and is quite performant.
Texture based forces (similar to displacement) and multiple attractors are supported.

Needs DX11 Pack.

Since this is no perfect shader code, it behaves differently on different graphic cards. You will have to fiddle with the thread dispatching settings, to get a situation that will work for your specific hardware.
Also I have seen some weird behaviour on NVIDIA cards.

I would be happy about any suggestions to improve this system.

Have fun!

(Don't mind the other branches)

Wrapped In Code von Michael Burk ist lizenziert unter einer Creative Commons Namensnennung - Nicht-kommerziell - Weitergabe unter gleichen Bedingungen 4.0 International Lizenz.


12.05.15 [22:47 UTC] by mburk | 965 downloads

catweasel 13/05/2015 - 11:28

I wondered whether this might have been yours, very nice!

mrboni 13/05/2015 - 11:49


unc 13/05/2015 - 11:57

very cool, thx for sharing!

btw setting stride value to 28 (in buffer renderer) made it work on my nvidia card

manuel 14/05/2015 - 19:07


Noir 16/05/2015 - 18:23

Thanks for sharing

Stride 28 made It works on my gtx780 also

StiX 22/06/2015 - 12:50

every time i try to delete or hide or do anything with the embed preview window it crashes, i can disable it but, wtf

even when i try to hide the cloth patch it crashes due to that preview window

clay 18/10/2016 - 17:52

Great contribution! Had also change the stride to 28 PLUS the dispatcher to 1. GTX 1080 running here.

anonymous user login


~5h ago

young47: Will visit Köln and Düsseldorf this week. I'm an artist from Moscow, would be happy to meet someone! If you will be there, reply :)

~6h ago

microdee: vpm got a clean-up update. Download here: https://github.com/vvvvpm/vpm/releases/tag/1.3

~2d ago

joreg: @udo2013 please note that bass is only available with x86 builds!

~2d ago

aeckheim: Can't find the visual c++ runtime 2008. setup.exe link leads to nowhere. try to setup newest beta version

~3d ago

joreg: More #vvvv workshop dates for the coming months are announced: upcoming-full-day-vvvv-gamma-workshops-in-berlin

~5d ago

mburk: @synth can confirm crashes with instance noodles. studio drivers fixed it.

~6d ago

synth: @nissidis: So i am not crazy! Thanks for confirmation :) These are the things i do have problems with as well.

~6d ago

nissidis: @synth I do with Instance Noodles and FieldTrip (RTX 2080) I rolled back to Studio Drivers (instead of GameReady ones)

~6d ago

synth: Anyone having problems with latest Nvidia Drivers and vvvv?