Hacker News new | ask | show | jobs
by psranga 3494 days ago
This function works surprisingly well in practice.

IIUC, it's a hash function defined over 3D space with tunable gradient between points.

The cool thing about the the marble vase example is that marble texture continues on the inside. So if you look on the inside of the vase the texture will still be there. automatically [http://cims.nyu.edu/~perlin/doc/vase.html]

Here's an example I made [lots of copy pasta btw :)] when learning this to get a wood texture [a simple application of Perlin noise, btw :)]. If you cut through the wood, the texture will still be there.

http://shaderfrog.com/app/view/828 [the dividing factors in line 236 tune the gradient]

1 comments

Is that what they use in Metal Gear Rising to simulate the texture in the inside of objects?
Sorry, I don't know.