Return to index
NAME
r - specify the third parameter of a phase function
SYNOPSIS
r value
DESCRIPTION
- Isotropic phase function: Unused.
- Schlick phase function: Unused.
- Schlick2 phase function: coefficient for the first Schlick phase function (the second coefficient will be 1-r), between 0 and 1.
- Henyey-Greenstein phase function: Unused.
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,
k,
l