How can I apply a depth map to a plane or flat surface?
Asked Answered
W

3

1

Hey I generated a depth map for an image and now I want to warp or deform a plane or mesh or flat surface to math the shape. This can be done in editor and would be preferable. I have a video clip showing what I want to do and wondering if it can be done in unity, there must be a tool for it?

A ready made solution would be preferable.

Wadleigh answered 12/6, 2024 at 20:53 Comment(0)
W
0

I see people do it in blender like this video: Turn any image into 3d animation using AI generated depth map! - YouTube

But I want to do it in unity, I have found a couple solutions for in unity, using the terrain or using a shader… although, I’m not sure if I can apply it to my image, I will try though. I think the shader method seems more promising and let you know if it works.


Wadleigh answered 28/2, 2023 at 22:35 Comment(0)
A
0

I tried writing a shadier to do this, but I’m running into a few difficulties. maybe we can work together to figure this out.

alt text.

Anguiano answered 6/6, 2023 at 4:56 Comment(1)

that looks really cool, but unfortunately, I don't have the time to work on this, which is why I wanted a ready made solution, plus this is a bit out of my expertise, not really a graphics guy. But thanks for the offer!

Wadleigh
S
0

Shader Graph: Vertex Displacement - Unity Learn lots of tutorials for unity

Schnur answered 12/6, 2024 at 18:34 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.