Guest User

Untitled

a guest
Jul 9th, 2016
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var q = new Vector3(perlin0.Evaluate(new Vector3(0,0,0)), perlin0.Evaluate(new Vector3(5.2f, 1.3f, 1.3f)));
  2. var q1 = new Vector3(perlin1.Evaluate(new Vector3(0, 0, 0)), perlin1.Evaluate(new Vector3(5.2f, 1.3f, 1.3f)));
  3. var q2 = new Vector3(perlin2.Evaluate(new Vector3(0, 0, 0)), perlin2.Evaluate(new Vector3(5.2f, 1.3f, 1.3f)));
  4. //var q3 = new Vector3(perlin3.Evaluate(new Vector3(0,0,0)), perlin2.Evaluate(new Vector3(5.2f, 1.3f, 1.3f)));
  5. density += perlin0.Evaluate(p + 4.0f*q);
  6. density += perlin1.Evaluate(p + 4.0f * q1);
  7. density += perlin2.Evaluate(p + 4.0f * q2);
RAW Paste Data