getCosineDirection
getCosineDirection(out, out_offset, normal, normal_offset, random)
Kind: global function
See: https://www.shadertoy.com/view/stVfWc
Param | Type |
---|---|
out | Array.<number> |
out_offset | number |
normal | Array.<number> |
normal_offset | number |
random | function |