Skip to main content

marble

Function marble 

Source
pub fn marble(
    base: [f32; 3],
    vein: [f32; 3],
    warp: f32,
    frequency: f32,
) -> MaterialGraph
Expand description

Marble from general nodes: world coordinates projected on a direction, bent by fractal noise, turned into thin veins by |sin|, coloured by a ramp, with cloudy variation and slight relief.