Return to index
NAME
k - specify the first parameter of a phase function
SYNOPSIS
k value
DESCRIPTION
- Isotropic phase function: Unused.
- Schlick phase function: k parameter (eccentricity), between -1 and 1.
- Schlick2 phase function: k parameter (eccentricity), between -1 and 1.
- Henyey-Greenstein phase function: eccentricity, between -1 and 1.
The default value is 0.
EXAMPLE
# Establish a new phf context called "cloudyPhF"
phf cloudyPhF =
type Schlick2
k 0.3
l -0.4
r 0.5
# We're done, the current phf context is now "cloudyPhF"
SEE ALSO
phf,
type,
l,
r