Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

RenderMesh UV Channel 2?

Discussion in 'Graphics for ECS' started by andywatts, Dec 30, 2019.

  1. andywatts

    andywatts

    Joined:
    Sep 19, 2015
    Posts:
    112
    Anyone having trouble using UV channel 2 with RenderMesh?

    The mesh, shadergraph, and texture2darray render fine with MeshRenderer.
    Given the same assets with RenderMesh the textures are coloured red?

    The only funky bit is...I'm encoding the texture2darray index using SetUVs(1, myUVs).

    The assets are here.
    Here's what it looks like.
    Same assets. RenderMesh on left. MeshInstanceRenderer on right.
     
    Last edited: Dec 30, 2019