Search Unity

Question Change material of image marker

Discussion in 'Unity MARS' started by cam415, Jun 17, 2020.

  1. cam415

    cam415

    Joined:
    Mar 26, 2014
    Posts:
    46
    Is it possible to change the material of the synthesized image marker? I would like to change it to be semi transparent since I am trying to line it up to another image in a specific location.
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    297
    hello @cam415

    Yes its possible. but if you change it, it will be changed for all your synthetic markers. The material used by the Synthetic Markers lies in
    Packages/com.unity.mars/Runtime/Materials/SyntheticImageMarkerMaterial.mat


    Just change the properties and you should be good to go. Do bare in mind that with this material if you set textures in it, they wont show up since textures for the synthetic markers are set through code
     
    cam415 likes this.