# Random Rock Texture (perlinNoise?)

**URL:** https://forum.kirupa.com/t/random-rock-texture-perlinnoise/307348
**Category:** flash
**Created:** [April 1, 2010, 11:24pm UTC](https://forum.kirupa.com/t/random-rock-texture-perlinnoise/307348 "2010-04-01T23:24:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ShawnJC](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/shawnjc/32/747_2.png) [@ShawnJC](https://forum.kirupa.com/u/ShawnJC)
#### Post date: [April 1, 2010, 11:24pm UTC](https://forum.kirupa.com/t/random-rock-texture-perlinnoise/307348/1 "2010-04-01T23:24:23Z")

</div>

Hello all. I’ve been searching around the web for some existing code on generating a rock like texture, maybe something like [this or [URL=“http://www.photoshop-dragon.com/Tutorials/Textures/Images/photorealistic\_rock/step6.jpg”]this](http://www.texturise.com/wp-content/uploads/2009/02/texturise_rock_texture_0021.jpg) and haven’t had any luck yet.  
I know it has to be possible, as I found something similar with a [marble texture generator](http://www.connectedpixel.com/blog/texture/marble) but I would need something that has more depth…like a shadow/emboss applied to it.  
I’m thinking you would need to use perlinNoise and convolution filter but am not sure how to do it.

Anyway, I figured it couldn’t hurt to ask if anyone knows of a function or something like that while I continue to search the nets. Thanks!
