dilevin / computer-graphics-shader-pipeline

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

Significance of range of improved perlin noise #16

Closed IgorStempen closed 5 years ago

IgorStempen commented 5 years ago

Hi,

I was just wondering why the improved perlin noise must have an output range of -1/2 to 1/2? Is this a strict requirment?

rarora7777 commented 5 years ago

I think it's just a typo. I'll confirm with Rinat as well and let you know if there's any significance to it.

rin-23 commented 5 years ago

I also think its a typo. You can return (-1,1) instead same as perlin_noise function.
In the end you can always rescale the returned value to generate the results you want.