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.
In Unity only can read uv(vector 2) attribute
3427 4 0- EricSheng
- Member
- 159 posts
- Joined: Feb. 2018
- Offline
- EricSheng
- Member
- 159 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.
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
- EricSheng
- Member
- 159 posts
- Joined: Feb. 2018
- Offline
-
- Quick Links