Search Unity

Resolved Having trouble assigning texture to Meshing mesh produced from ARMeshManager

Discussion in 'AR' started by GrizzlyFalcon, Oct 15, 2021.

Thread Status:
Not open for further replies.
  1. GrizzlyFalcon

    GrizzlyFalcon

    Joined:
    Feb 14, 2015
    Posts:
    10
    I am wanting to assign a texture to a material's albedo that is then this texture is propagated through the mesh created when scanning a room.


    This is the result I have achieved with ARPlaneManager




    I want to achieve the same but for the meshing provided by ARKit and ARMeshManager. I can see that I am getting the general colour but none of the detail of these textures.

    Cosmic Star Map (NoConstellation).png

    Cosmic Star Map (Colour Cyan).png

    Please see here the results respectively

    Dark


    Cyan


    Any information around how I can get the textures above to show on the AR Meshing including the stars would be extremely helpful.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
    Apple's ARKit does not provide UV's for the mesh it generates. Looks like you would need to write a specialized shader that does not require UV'd surface to apply the star pattern on the mesh.
     
  3. fuzzy3d

    fuzzy3d

    Joined:
    Jun 17, 2009
    Posts:
    228
    Triplanar shader...
     
  4. dvettorazi

    dvettorazi

    Joined:
    Aug 22, 2019
    Posts:
    1
Thread Status:
Not open for further replies.