I was looking at this doc: https://code.google.com/p/fractalterraingeneration/wiki/Perlin_Noise
And in the document it says:
- top-left: just x, y
- top-right: x-1
- bottom-left: x, y-1
- bottom-right: x-1, y-1
This may seem counter-intuitive, but it is to adjust for the possibly negative values in the gradients. Gradients pointing left or down will have negative values, so subtracting 1 from the values compensates for this. I admit I'm still not 100% clear on this, but it is a necessary step.
Am I right in assuming that this only applies if we plan to draw pixels using the final final as the weight? Otherwise, there is no need to subtract 1, correct?