Perlin Noise is frustrating.

I’ve been trying to incorporate noise into my program, and I’ve been using the improved Noise function from ken Perlin’s website.

Everytime I put in a number without a decimal (1.0, 2.0, 6.0, etc) it returns a zero. Is it supposed to do this? If I shouldn’t use whole numbers, what’s a good interval to use?

First post. woo!

More references are always helpful, imo…

Thanks nonnus29, that post cleared a lot up.

But I didn’t see anything about my whole numbers returning zeros. I should just avoid them, I guess.