I make the surface defined by two curves. How to get UV output for this mesh?
2 Answers
- Use capture attribute to get original positions:
Adding 0.5 makes coordinates range from 0 to 1, perfect for UV
- Set output to new attribute in modifier:
- Use attribute node to get this generated UV:
The Mesh Grid contains a default UV. You can use it by getting the 'uv_map' attribute.
You can also calculate the uv using the vertex index and X & Y count. You can use this with any deformed grid.