Ejemplo n.º 1
0
def setup_big_texture(text: bpy.types.Texture):
    rock = bpy.context.scene.rock_gen_props
    
    text.type = 'CLOUDS'
    text.noise_basis = 'VORONOI_F1'
    text.noise_scale = uniform(rock.min_texture_size, rock.max_texture_size)
    text.noise_type = 'HARD_NOISE'
Ejemplo n.º 2
0
def setup_big_texture(text: bpy.types.Texture):
    rock = bpy.context.scene.rock_gen_props

    text.type = 'CLOUDS'
    text.noise_basis = 'VORONOI_F1'
    text.noise_scale = rock.texture_size
    text.noise_type = 'HARD_NOISE'
Ejemplo n.º 3
0
def setup_small_texture(text: bpy.types.Texture):
    rock = bpy.context.scene.rock_gen_props
    
    text.type = 'CLOUDS'
    text.noise_basis = 'VORONOI_F1'
    text.noise_scale = rock.small_texture_size
    text.noise_type = 'HARD_NOISE'