I played around with some functions tonight following the call to the Perlin Noise function and got some cool effects. I am now also running a Cosine interpolation on these instead of a Linear interpolation. It doesn't make a huge difference but the colours appear to blend together a little bit better. Also it just added an extra couple of multiplications and a cosine call for each winning intersection's colour method, so that's not too computationally expensive.

Linear interpolation

Cosine interpolation, note the slightly better blending of the two colours together

Wood texture

A nicer wood texture image with better, more "wood-like" colours

Cool wavy texture, noise multiplier = 1

Cool wavy texture, noise multiplier = 5

Cool wavy texture, noise multiplier = 10

Marble texture using Perlin's Noise function
No comments:
Post a Comment