Search Unity

Reading holestexture always empty

Discussion in 'World Building' started by DonPepe, May 4, 2020.

  1. DonPepe

    DonPepe

    Joined:
    Jun 5, 2013
    Posts:
    11
    Hey,

    I am generating a piece of fine terrain in Houdini. I also want to use the new holes feature. As Houdini isn't supporting this yet I am trying to come up with my own solution. Right now I'm stuck at the very beginning, not able to get a meaningful result out of TerrainData.holesTexture (documentation). Either this is always empty, or my code to export is wrong (which is like this)

    Anyone tried to play with this yet?
     
  2. DonPepe

    DonPepe

    Joined:
    Jun 5, 2013
    Posts:
    11
    nevermind, my code for selecting the terrain object seems S***ty