How can I apply a 9-slice scaling to a mash object using a shader?
I'd like to draw a dynamic building with different heights as shown below.
I'm drawing a building using a mash filter and Mesh renderer.
I understand that Nine Patches using Sprite cannot be applied because I am using Mesh Filter.
I've tried setting the UV value, but the image is only repeating.
I want it painted on the wall like the image above.
I think it's possible to use shaders well, but I don't know how to handle them.
Can I get an idea or a link for reference?
Thank you.
스크린샷-2019-09-26-오전-101422.png
(120.7 kB)
resutl.png
(30.2 kB)
Comment
Your answer
Follow this Question
Related Questions
How to partially change texture? 0 Answers
Blending tiles with larger textures 0 Answers
Render transparent mesh over sprite 0 Answers
Extrude texture blocks to mesh? 0 Answers
How do you draw a sprite from an atlas on to a mesh? 1 Answer