31 float cloudAltitude = 60.f;
41 void setSunDirection(
float x,
float y,
float z);
42 void setCloudAltitude(
float altitude);
46 float coverageAt(
float x,
float z,
float time)
const;
49 float shadowFactorAt(
float x,
float z,
float time)
const;
52 void cloudOffset(
float &
ox,
float &oz)
const;
55 void sampleCoverage(
float *out,
int width,
int height,
float time,
float x0,
float z0,
59 void sampleFactor(
float *out,
int width,
int height,
float time,
float x0,
float z0,
#define EVENGINE_API_DOMAINS
Deterministic, seamlessly-tiling, time-animated procedural cloud field.
Cloud shadows cast onto the ground plane.
const Params & params() const
CloudShadow(const Params ¶ms)
Owning, typed generation parameters.
std::vector< ParamSpec > params