In Unity only can read uv(vector 2) attribute

   771   4   0
User Avatar
Member
86 posts
Joined: Feb. 2018
Offline
Actually, we can have UVW(Vector 3) or UVWT(Vector 4) to be stored in UV attribute.
But in Unity, I only can access the first two attribute(U and V), other information I stored all becomes 0.
User Avatar
Member
86 posts
Joined: Feb. 2018
Offline

I find Houdini Engine only convert uv attribute to Vector2 variable, which will lose the uv.2, uv.3 data obviously.
I try to change some code, and it works well, now I can read uv.2 data in shader correctly. I think Houdini Engine need to support the Vector4 for uv attribute, which is quite useful for especially VFX stuffs.

Attachments:
houdiniengineuv.jpg (30.2 KB)

User Avatar
Staff
451 posts
Joined: May 2017
Offline
I've logged this as an RFE. Will reply once it has been added.
User Avatar
Staff
451 posts
Joined: May 2017
Offline
In tomorrow's build, when importing meshes, UVs of tuple size 2, 3, and 4 will be supported, as well as UV sets from 1 to 8 (i.e. uv, uv2, uv3, …, uv8).
User Avatar
Member
86 posts
Joined: Feb. 2018
Offline
seelan
In tomorrow's build, when importing meshes, UVs of tuple size 2, 3, and 4 will be supported, as well as UV sets from 1 to 8 (i.e. uv, uv2, uv3, …, uv8).
Thanks, I really appreciate your quick support.
  • Quick Links