getBiasedNormalSample
getBiasedNormalSample(out, out_offset, normal, normal_offset, power, random)
Kind: global function
See
- 2003 "Global Illumination Compendium" by Philip Dutré (equation 36)
- http://blog.hvidtfeldts.net/index.php/2015/01/path-tracing-3d-fractals/
Param | Type |
---|---|
out | Array.<number> |
out_offset | number |
normal | Array.<number> |
normal_offset | number |
power | number |
random | function |