Search - User list
Full Version: In Unity only can read uv(vector 2) attribute
Root » Houdini Engine for Unity » In Unity only can read uv(vector 2) attribute
EricSheng
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.
EricSheng

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.
seelan
I've logged this as an RFE. Will reply once it has been added.
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).
EricSheng
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB