naelstrof / UnityJigglePhysics

A unity addon for adding stretchy bouncy physics to bones and meshes.
MIT License
278 stars 32 forks source link

ShaderGraph version not work. #18

Closed Kovacs-3d closed 1 year ago

Kovacs-3d commented 1 year ago

Hello. Can you check what the problem might be? If I switch URPJigglePhysicsSoftbody.shadergraph, the vertex disappears. prblem1 I tried the way it is in the ASE shader but it doesn't work I don't understand. prblem2

Kovacs-3d commented 1 year ago

Yeah, okay. I was looking at your shader and saw that this is just the displacement. You still need to add the original vertex positions at the end. work

naelstrof commented 1 year ago

Yeah sorry, I made the original code node with respect to Amplify Shader's defaults which uses local space offsets.

You found the intended solution just fine!