Search Unity

Allegorithmic for Terrain coming ever?

Discussion in 'Editor & General Support' started by brad_ict, Aug 24, 2011.

  1. brad_ict

    brad_ict

    Joined:
    Sep 14, 2010
    Posts:
    69
    Any plans to make the Allegorithmic textures work with the terrain system? Something beyond just diffuse (e.g. normal mapping)?
     
  2. niosop2

    niosop2

    Joined:
    Jul 23, 2009
    Posts:
    1,059
    You already can somewhat. You just need to have a replacement shader and a script to feed the shader the correct textures. Take a look at Six Times Nothing's terrain bump mapped shader. Then feed it the textures that are generated from the Substance.
     
  3. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    removed due to not being accurate - see Jercs posting below
     
    Last edited: Aug 24, 2011
  4. Liatti

    Liatti

    Joined:
    Mar 21, 2011
    Posts:
    63
    It's something we are discussing with Unity. Substances are materials and indeed materials can't be used on terrains, but we are trying to figure out some solutions.
    It's definitely something we'd like to do also!
     
  5. Jerc

    Jerc

    Joined:
    Sep 24, 2010
    Posts:
    300
    Actually niosop is right, as long as you have a custom material on your terrain instead of the standard "diffuse only" system shipped with Unity, you can drop individual substance outputs to feed the material without worrying about the substance material at all.

    That applies to all materials, substance outputs are treated like standard textures and you can use them independently from the substance material.
     
  6. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Oh?
    Must have overseen that. Sorry for the missinformation than but even more thanks for that great information. Need to check that :)
     
  7. brad_ict

    brad_ict

    Joined:
    Sep 14, 2010
    Posts:
    69
    Thanks everyone for the info. I've used Six Times Nothing's terrain materials; was inquiring about native support for Substance materials. Glad to hear it's being worked on.
     
  8. don_vladimiro

    don_vladimiro

    Joined:
    Jul 21, 2011
    Posts:
    28
    Where can get those shaders to terrain?
     
  9. Jerc

    Jerc

    Joined:
    Sep 24, 2010
    Posts:
    300
  10. mindlube

    mindlube

    Joined:
    Oct 3, 2008
    Posts:
    993
    Interesting thread- thanks all! a semi-related related question: Can anyone think of a way to set a terrain's heightmap from a Substance procedural texture, at runtime? it seems that there is no Texture2D, so GetPixels() is out of the question. The only way I know how to set a heightmap is by GetPixels(), then terrainData.SetHeights()!
     
  11. Jon-at-Kaio

    Jon-at-Kaio

    Joined:
    Oct 17, 2007
    Posts:
    185
    Not sure how to add the texture from substance to the custom terrain shader/material script
     
  12. Jerc

    Jerc

    Joined:
    Sep 24, 2010
    Posts:
    300
    The custom terrain script is not really set up to work with Substances by default. I'm working on some improvements to make it more straightforward to use.
     
  13. Jerc

    Jerc

    Joined:
    Sep 24, 2010
    Posts:
    300
    Substance goodness on terrains incoming, keep an eye on the asset store ;)