Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support Vector4 for uv attribute #4

Open
eliiik opened this issue Jan 25, 2019 · 0 comments
Open

Need support Vector4 for uv attribute #4

eliiik opened this issue Jan 25, 2019 · 0 comments

Comments

@eliiik
Copy link

eliiik commented Jan 25, 2019

public List<Vector2> _UVs = new List<Vector2>(); public List<Vector2> _UV2s = new List<Vector2>(); public List<Vector2> _UV3s = new List<Vector2>();
(Code from HEU_MeshData.cs)

Currently, the uv attribute will convert to Vector2 type in Houdini Engine Unity. But in some cases, especially VFX stuffs, it is quite useful to store some more information in uv.2, uv.3.
I change some code in the source file of Houdini Engine Unity code and it works well. I think uv attribute shouldn't be limited in Vector2 only.

And now Unity support mostly 8 uv channels in one mesh, I think it should be concerned, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant