- Home /
3D Mesh Deformer in Unity3D
Hallo guys,
I was wondering if there is an possible way to get a 3D noise deform effect on a 3D Model with baked textures? Kinda like the animated water asset in Unity, but with a 3D Object.
I tried "Mega-Fiers" but this is way to heavy... I've tried many ways, but without succes...
(I've no idea to explane this, though).
Answer by KoJix · May 13, 2015 at 07:12 AM
Problem solved with a custom shader!
Thanks to FortisVenaliter for his answer.
Answer by FortisVenaliter · May 12, 2015 at 03:04 PM
Why not just use the normal Unity built-in method? Add an AudioSource component to the object, and set it's audio clip property. Then, if the clip is set up for 3d in it's import options, it should just work.
Well I'm searching for a mesh noise deformation not an audio noise xd
Gotcha. Okay, there are two ways I can think of:
$$anonymous$$anually fetch the vertices from the mesh, alter them with a noise function, and re-apply them. This would work well in load-time, but would not be fast enough for real-time.
Write a custom shader that manipulates the vertices on the GPU before they are rendered. A good starting point would be the "Normal Extrusion with Vertex $$anonymous$$odifier" example on this doc page.
Also, I highly recommend in the future to use a more descriptive title on your question if you want good answers.
Thanks for your answer! I'll do some research about writing a custom shader.
I changed the title to make it more clear. I was hoping my description was clear enough.
Your answer
Follow this Question
Related Questions
scroll texture from center to nearest edge 1 Answer
Animate Toon Water on Plane? 0 Answers
Using noise as texture 2 Answers
Animated Rotten Tomato 0 Answers
Best way for texture animation 1 Answer