Skip to main content
2 of 2
Don't repeat tags in the title
DMGregory
  • 141k
  • 23
  • 258
  • 401

How to make shader graph RenderTexture deform effect more accurate?

I have followed a PolyToots tutorial (https://www.youtube.com/watch?v=3T8cKTQrMxk) to make a 'rug deform' effect.

This is great except for that the vertices aren't deforming faithfully enough to complex meshes.

Here is what I mean.

https://i.imgur.com/yKPcL7A.png

The FlowerPot mesh is on a layer called 'Deformers' which a RenderTexture camera is looking at. Then a shadergraph says to deform the Rug mesh based on the RenderTexture output.

This is the shadergraph: https://i.imgur.com/ucwqtOm.png

As you can see, the rug is deforming based on the flowerpot's shape but not in an accurate enough way. Is there a way to make the deformation more accurate?

https://i.imgur.com/hRUOxOX.png

yunum
  • 69
  • 6