Hello guys what is the use of 3rd coordinate in uv attribute

   528   1   0
User Avatar
Member
3 posts
Joined: April 2022
Offline
As uv attribute is texture coordinate assigned to each vertex . What is the point of 3rd coordinate in uv attribute ? Is it something like width or scale ? then how does that scale value works ? somebody help me out
User Avatar
Member
8595 posts
Joined: July 2007
Offline
it's just a 3rd dimension

uv doesn't need to store just flat 2d coordinates, it can be full 3d coordinates similar to what v@rest attribute is commonly used to
so you can use it to sample 3d procedural textures for example
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links