INNER CODE UNIT · C#
noiseLevel
Blotch3D/Blotch3D · src/BlGeometry.cs:58
noiseLevel = .7 / mask;
var len = width * height;
var pixels = new int[len];
tex.GetData(pixels);
return CreatePlanarSurface
(
(x,y)=>(double)(pixels[x + width * y] & mask) / (mask + 1),
width,
height,
mirrorY,
smooth,
noiseLevel
);
}
/// <summary>