Search Unity

Terrain Base Material?

Discussion in 'Scripting' started by Alan-Tang, Jul 28, 2014.

  1. Alan-Tang

    Alan-Tang

    Joined:
    Jul 28, 2014
    Posts:
    5
    When I add a terrain to the scene, it's white.

    I have written a script to create new terrain objects. I've used up all 4 splat prototypes (I read somewhere that 1 render pass = 4 splat textures?). I need a 5th one that represents snow and it would seem the white/untextured appearance would be perfect and I wouldn't have to add a 5th splat prototype.

    I set my alpha values for the mountain peaks to 0,0,0,0 and I instead get pitch black.

    I'm trying to figure out what I need to set in my created terrain objects so that it would behave like the terrain I added to scene when there are no alpha values set for a particular point. Anyone know what that would be or if it's even possible?

    Thanks!
     
  2. Alan-Tang

    Alan-Tang

    Joined:
    Jul 28, 2014
    Posts:
    5
    I ended up adding a 5th texture - it was very likely I'll need more textures anyway.