dilevin / computer-graphics-shader-pipeline

Computer Graphics Assignment about the Shader Pipeline
2 stars 5 forks source link

Can we use the acos() function? #32

Closed charlesvong closed 4 years ago

charlesvong commented 4 years ago

I read an article on Perlin Noise and it suggested to use acos() to generate uniformly distributed points on a sphere, but it wasn't mentioned in the list of whitelisted functions.

The article in question: https://www.scratchapixel.com/lessons/procedural-generation-virtual-worlds/perlin-noise-part-2

abhimadan commented 4 years ago

acos and any other trig functions are OK to use.