generate_cloud_layer: Calculate a single raymarched cloud layer

View source: R/render_clouds.R

generate_cloud_layerR Documentation

Calculate a single raymarched cloud layer

Description

Calculate a single raymarched cloud layer

Usage

generate_cloud_layer(
  heightmap,
  sun_altitude = 90,
  sun_angle = 315,
  levels = 8,
  offset_x = 0,
  offset_y = 0,
  time = 0,
  start_altitude = 1000,
  end_altitude = 2500,
  alpha_coef = 0.8,
  scale_x = 1,
  scale_y = 1,
  scale_z = 1,
  freq = 0.01/2,
  coef = 0.05,
  seed = 1
)

Value

image array

Examples

#Fake example

tylermorganwall/rayshader documentation built on Nov. 21, 2024, 8:11 a.m.