Can I deform a skinMesh by using HLSL codes in a script? I want something like soft-body physics damage effect that is not affecting the mass model and the collision detection models. If it can please someone to give me a simple demo of the shader code because I don't know anything for HLSL.
This forum is now archived!
- Welcome to the archive!
News:
The 3DRad community can be found at classdev.net.
- 3D Rad - Free 3D game maker - Forum >
- General Category >
- 3D Rad - Optimization Tips >
- Physics deformed by HLSL shader code
Author Topic: Physics deformed by HLSL shader code (Read 226 times)
i think Shadmar ir did something similar in one of his displaced water shaders, but shader coding is not one of my strengths, so i really couldn't be of much help...
it would be neat though, to be able to deform meshes in real time in RAD... using the vertex shader to set the positions...
also...
may be of some interest look at Gene's Oddity Engine...
--Mike
it would be neat though, to be able to deform meshes in real time in RAD... using the vertex shader to set the positions...
also...
may be of some interest look at Gene's Oddity Engine...
--Mike
I think that I achieved it! But with bone animation.
Take a look if you want...
http://youtu.be/ajBShwGYeLQ
Take a look if you want...
http://youtu.be/ajBShwGYeLQ
i think Shadmar ir did something similar in one of his displaced water shaders, but shader coding is not one of my strengths, so i really couldn't be of much help...shademar did make a script that deforms a skinmesh and turns it into ocean waves.
it would be neat though, to be able to deform meshes in real time in RAD... using the vertex shader to set the positions...
also...
may be of some interest look at Gene's Oddity Engine...
--Mike
but if your looking for a modified version of this script so that it deforms the skinmesh when a area of 2 rigidbody's contacts I'm affraid your out of luck because all of our best scripters are no longer using 3drad or don't come to the forums anymore.
Pages: [1]